Closed sebthom closed 2 months ago
use CompletableFuture#delayedExecutor for delaying executions instead of blocking threads of ForkJoinPool#commonPool by using Thread.sleep() to reduce congestion of the common pool.
CompletableFuture#delayedExecutor
ForkJoinPool#commonPool
Thread.sleep()
use
CompletableFuture#delayedExecutor
for delaying executions instead of blocking threads ofForkJoinPool#commonPool
by usingThread.sleep()
to reduce congestion of the common pool.