Skip to content

Commit

Permalink
Increase scheduller limit to 9999 threads! I think it might be enough…
Browse files Browse the repository at this point in the history
… '-'
  • Loading branch information
EverNife committed May 2, 2023
1 parent a9e1f99 commit a1ab1a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

public class FCScheduler {

private static final ScheduledThreadPoolExecutor scheduler = (ScheduledThreadPoolExecutor) Executors.newScheduledThreadPool(5);
private static final ScheduledThreadPoolExecutor scheduler = (ScheduledThreadPoolExecutor) Executors.newScheduledThreadPool(9999);

public static ScheduledThreadPoolExecutor getScheduler() {
return scheduler;
Expand Down

0 comments on commit a1ab1a6

Please sign in to comment.