mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
fix chunk polling
This commit is contained in:
parent
0c1fdcc498
commit
6de30f8ed4
@ -289,7 +289,7 @@ public class SingleThreadQueueExtent extends BatchProcessorHolder implements IQu
|
||||
for (int i = 0; i < overflow; i++) {
|
||||
Future first = submissions.poll();
|
||||
try {
|
||||
while ((first = (Future) first.get()) != null);
|
||||
while (first != null) first = (Future) first.get();
|
||||
} catch (InterruptedException | ExecutionException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user