Closed PedroKantar closed 6 years ago
Thanks a lot @PedroKantar.
It's great ! I just made some modifications so that we don't have to use a global retryCount
. Can you review it and test it again ?
Hi, modifications look OK to me, I'm testing it..
It is OK, I tested the modification and it works. Thanks!
Merged ! Thanks for this PR !
👍
Released in v1.1.2
@MatthieuLemoine
I Have followed your advice and implement a decreasing delay between re-connection attempts. I tested the code (connected, not connected, connected) and it works OK. I set up the max delay (
RETRY_MAX_TEMPO
) to 15 seconds.Feel free to update it if it does not fit your original approach.