mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +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++) {
|
for (int i = 0; i < overflow; i++) {
|
||||||
Future first = submissions.poll();
|
Future first = submissions.poll();
|
||||||
try {
|
try {
|
||||||
while ((first = (Future) first.get()) != null);
|
while (first != null) first = (Future) first.get();
|
||||||
} catch (InterruptedException | ExecutionException e) {
|
} catch (InterruptedException | ExecutionException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user