Skip to content

Commit

Permalink
Grid: Fixing timeout issue again... Why isn't it covered by tests? A …
Browse files Browse the repository at this point in the history
…rhetorical question...
  • Loading branch information
barancev committed Jan 28, 2016
1 parent 5948df9 commit bf66042
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public SelfRegisteringRemote(RegistrationRequest config) {
try {
JsonObject hubParameters = getHubConfiguration();
if (hubParameters.has(RegistrationRequest.TIME_OUT)){
int timeout = hubParameters.get(RegistrationRequest.TIME_OUT).getAsInt() / 1000;
int timeout = hubParameters.get(RegistrationRequest.TIME_OUT).getAsInt();
nodeConfig.getConfiguration().put(RegistrationRequest.TIME_OUT, timeout);
}
if (hubParameters.has(RegistrationRequest.BROWSER_TIME_OUT)) {
Expand Down

0 comments on commit bf66042

Please sign in to comment.