Skip to content
Discussion options

You must be logged in to vote

The sleep you're referring to is reconnect_interval (default: 0, no sleep). You could set it to 300, for example, and then each loop would sleep for 300ms before starting at the top again.
Also, if you have configured a sock_conn_timeout, this will wait for N ms until a socket connect times out.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@len-ro
Comment options

Answer selected by len-ro
Comment options

You must be logged in to vote
1 reply
@len-ro
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants