Skip to content

Make TaskExecutionAutoConfiguration#applicationTaskExecutor lazy #14904

@snicoll

Description

@snicoll

The creation of the bean itself is not costly as it does not hold/create any thread until a task is actually submitted to it but it logs twice at INFO level: once on startup and once on shutdown.

Given we've tried to polish and clean logs in 2.1, I think it would be worthwhile to look if we can't make that bean lazy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: supersededAn issue that has been superseded by another

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions