Wait 5 seconds instead of 1 after failure to connect. Reduces error logs filling up db.
This commit is contained in:
parent
0afcbe626c
commit
9525268192
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue