Skip to content

Commit

Permalink
Update Main.java
Browse files Browse the repository at this point in the history
  • Loading branch information
howardchung authored Jan 15, 2024
1 parent d36b22e commit aba54c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/opendota/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public void run()
ip = RegisterTask.shellExec("hostname -i");
}
int nproc = Runtime.getRuntime().availableProcessors();
RegisterTask.shellExec("curl -X POST https://" + System.getenv().get("SERVICE_REGISTRY_HOST") + "/register/parser/" + ip + "?size=" + nproc);
RegisterTask.shellExec("curl -X POST -L" + System.getenv().get("SERVICE_REGISTRY_HOST") + "/register/parser/" + ip + "?size=" + nproc);
} catch (Exception e) {
System.err.println(e);
}
Expand Down

0 comments on commit aba54c5

Please sign in to comment.