Skip to content

Commit

Permalink
disabling virtual threads
Browse files Browse the repository at this point in the history
  • Loading branch information
Goulven.Furet authored and Goulven.Furet committed Dec 3, 2023
1 parent de5acd0 commit d01a8c4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ public void configureTasks(

@Bean(destroyMethod = "shutdown")
public Executor taskExecutor() {
return Executors.newScheduledThreadPool(5, Thread.ofVirtual().factory());
// TODO : Virtual threads not working
// return Executors.newScheduledThreadPool(5, Thread.ofVirtual().factory());
return Executors.newScheduledThreadPool(5);
}
}

0 comments on commit d01a8c4

Please sign in to comment.