Skip to content

Commit 759b9fc

Browse files
authored
Update Main.java
1 parent c3de5d2 commit 759b9fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/opendota/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ public void run() {
227227
// Otherwise, use hostname -i to get internal IP
228228
ip = RegisterTask.shellExec("hostname -i");
229229
}
230-
long nproc = Math.max(Runtime.getRuntime().availableProcessors(), 8);
230+
long nproc = Math.max(Runtime.getRuntime().availableProcessors(), 10);
231231
String postCmd = "curl -X POST --max-time 60 -L " + System.getenv().get("SERVICE_REGISTRY_HOST")
232232
+ "/register/parser/" + ip + ":5600" + "?size=" + nproc + "&key="
233233
+ System.getenv().get("RETRIEVER_SECRET");

0 commit comments

Comments
 (0)