Allow onion bursting for post mantle jobs

This commit is contained in:
cyberpwn committed 2021-08-18 00:39:16 -04:00
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);
}