mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-20 23:36:52 +00:00
Allow onion bursting for post mantle jobs
This commit is contained in:
1 parent
b71a87e803
commit
851053fd9a
2 files changed
+16
-4
No files matched your search
@@ -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