Wait 5 seconds instead of 1 after failure to connect. Reduces error logs filling up db.

This commit is contained in:
Isaac Connor 2020-01-13 12:52:34 -05:00
parent 0afcbe626c
commit 9525268192
1 changed files with 1 additions and 1 deletions

View File

@ -350,7 +350,7 @@ int main(int argc, char *argv[]) {
} }
if ( result < 0 ) { if ( result < 0 ) {
// Failure, try reconnecting // Failure, try reconnecting
sleep(1); sleep(5);
break; break;
} }
} // end while ! zm_terminate } // end while ! zm_terminate