Instead of resetting the number of attempts on connection, reset it when the connection is stable, ie. after some time has passed. This prevents connection retries from happening in succession when a peer is disconnected during the initial handshake, as is the case with invalid subscribe timestamps. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| build.rs | ||