瀏覽代碼

Reduce search timeout from 30 seconds to 10 seconds

Signed-off-by: shedaniel <daniel@shedaniel.me>
shedaniel 5 年之前
父節點
當前提交
f85fa41817
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      gradle.properties
  2. 1 1
      src/main/java/me/shedaniel/rei/gui/widget/EntryListWidget.java

+ 1 - 1
gradle.properties

@@ -1,4 +1,4 @@
-mod_version=4.1.9-unstable
+mod_version=4.1.10-unstable
 supported_version=20w16a
 minecraft_version=20w16a
 yarn_version=20w16a+build.1

+ 1 - 1
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();
                     }