diff options
| author | shedaniel <daniel@shedaniel.me> | 2020-04-18 15:06:40 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2020-04-18 15:06:40 +0800 |
| commit | e5315c618c7a4e76032967627c213e11170667c2 (patch) | |
| tree | 058fbe1cb6d617c4ef81c106bf2e391efb753c12 /src/main/java | |
| parent | ca2bb09ae0b22831c195453f0ccc47a8eb83a43c (diff) | |
| download | RoughlyEnoughItems-e5315c618c7a4e76032967627c213e11170667c2.tar.gz RoughlyEnoughItems-e5315c618c7a4e76032967627c213e11170667c2.tar.bz2 RoughlyEnoughItems-e5315c618c7a4e76032967627c213e11170667c2.zip | |
Reduce search timeout from 30 seconds to 10 seconds
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'src/main/java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/gui/widget/EntryListWidget.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/widget/EntryListWidget.java b/src/main/java/me/shedaniel/rei/gui/widget/EntryListWidget.java index 65d5d8e7d..444fdc831 100644 --- a/src/main/java/me/shedaniel/rei/gui/widget/EntryListWidget.java +++ b/src/main/java/me/shedaniel/rei/gui/widget/EntryListWidget.java @@ -588,7 +588,7 @@ public class EntryListWidget extends WidgetWithBounds { })); } try { - CompletableFuture.allOf(completableFutures.toArray(new CompletableFuture[0])).get(30, TimeUnit.SECONDS); + CompletableFuture.allOf(completableFutures.toArray(new CompletableFuture[0])).get(10, TimeUnit.SECONDS); } catch (InterruptedException | ExecutionException | TimeoutException e) { e.printStackTrace(); } |
