Skip to content

Scheduling auto-configuration backs off with @EnableWebSocket #28449

@lfz757077613

Description

@lfz757077613

When use @EnableWebSocket and @EnableScheduling at the same time, spring.task.sheduling* will not effect
After I debug a simple empty project, I found ScheduledTaskRegistrar always use localExecutor, because TaskSchedulingAutoConfiguration.taskScheduler(TaskSchedulerBuilder builder) not run.
I guess there are some conflict codes in WebSocketConfigurationSupport with TaskSchedulingAutoConfiguration

Metadata

Metadata

Assignees

Labels

status: declinedA suggestion or change that we don't feel we should currently applytype: bugA general bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions