aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-04-18 15:06:40 +0800
committershedaniel <daniel@shedaniel.me>2020-04-18 15:06:40 +0800
commite5315c618c7a4e76032967627c213e11170667c2 (patch)
tree058fbe1cb6d617c4ef81c106bf2e391efb753c12 /src/main
parentca2bb09ae0b22831c195453f0ccc47a8eb83a43c (diff)
downloadRoughlyEnoughItems-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')
-rw-r--r--src/main/java/me/shedaniel/rei/gui/widget/EntryListWidget.java2
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();
}