mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-28 19:49:06 +00:00
Allow onion bursting for post mantle jobs
This commit is contained in:
@@ -45,7 +45,7 @@ public class BurstExecutor {
|
||||
|
||||
public BurstExecutor queue(List<Runnable> r) {
|
||||
synchronized (futures) {
|
||||
for (Runnable i : r) {
|
||||
for (Runnable i : new KList<>(r)) {
|
||||
CompletableFuture<Void> c = CompletableFuture.runAsync(i, executor);
|
||||
futures.add(c);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user