We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3de5d2 commit 759b9fcCopy full SHA for 759b9fc
src/main/java/opendota/Main.java
@@ -227,7 +227,7 @@ public void run() {
227
// Otherwise, use hostname -i to get internal IP
228
ip = RegisterTask.shellExec("hostname -i");
229
}
230
- long nproc = Math.max(Runtime.getRuntime().availableProcessors(), 8);
+ long nproc = Math.max(Runtime.getRuntime().availableProcessors(), 10);
231
String postCmd = "curl -X POST --max-time 60 -L " + System.getenv().get("SERVICE_REGISTRY_HOST")
232
+ "/register/parser/" + ip + ":5600" + "?size=" + nproc + "&key="
233
+ System.getenv().get("RETRIEVER_SECRET");
0 commit comments