Skip to content

Commit

Permalink
Merge pull request #10 from imZack/master
Browse files Browse the repository at this point in the history
Sleep more longer (reconnect)
  • Loading branch information
lwindg committed Jun 12, 2015
2 parents ffaafa2 + f66280d commit 40d178c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sanji_controller.c
Original file line number Diff line number Diff line change
Expand Up @@ -2475,7 +2475,7 @@ int main(int argc, char *argv[])

if (sanji_run && rc) {
fprintf(stderr, "SANJI: reconnect to server: %d\n", rc);
sleep(1);
sleep(5);
mosquitto_reconnect(mosq);
}
}
Expand Down

0 comments on commit 40d178c

Please sign in to comment.