You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Bean(TaskExecutionAutoConfiguration.APPLICATION_TASK_EXECUTOR_BEAN_NAME)
public AsyncTaskExecutor asyncTaskExecutor() {
return new TaskExecutorAdapter(Executors.newVirtualThreadPerTaskExecutor());
}
Is there any reason why
spring.threads.virtual.enabled
doesn't setup a virtual thread basedAsyncTaskExecutor
, as suggested in https://spring.io/blog/2022/10/11/embracing-virtual-threads?@mhalbritter Do you have any input on the matter?
Thanks for adding support for virtual threads!
The text was updated successfully, but these errors were encountered: