pull/36614/head
Moritz Halbritter 1 year ago
parent b0615dd311
commit 39f6b85039

@ -50,7 +50,7 @@ class TaskExecutorConfigurations {
ObjectProvider<TaskDecorator> taskDecorator) {
SimpleAsyncTaskExecutor executor = new SimpleAsyncTaskExecutor(properties.getThreadNamePrefix());
executor.setVirtualThreads(true);
executor.setTaskDecorator(taskDecorator.getIfUnique());
taskDecorator.ifUnique(executor::setTaskDecorator);
return executor;
}

Loading…
Cancel
Save