You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
[2.2.3] - 2022-06-22
There was a packaging problem with the previous version. There are no changes compared with 2.2.2.
[2.2.2] - 2022-06-22 [YANKED]
See below release candidates for further changes. TLDR: Improved WebSocket stability and reconnection logic.
Added
retries argument so that users specify how many times the WSS tries to reconnect upon disconnection
The default is 10. To retry forever, set it to 0. pybit will wait 1 second between each retry.
Modified
Improved the logging around WSS disconnection
[2.2.2rc2] - 2022-06-15
Added
WSS topic resubscription so that when a WSS connection is dropped and then reconnected it should resume pushing the same data as before. Essentially, completes the expected functionality of reconnecting to the WSS.
Modified
is_connected() function to work with modules that utilise >1 WSS connections
[2.2.2rc1] - 2022-06-10
Added
is_connected() function to WebSocket class so that you can check if your WSS connection is alive
Fixed
Bug where, upon WSS disconnection, pybit rapidly tries to re-establish the connection, which results in being banned by the CDN for malicious activity
[2.2.2rc0] - 2022-06-10
Modified
Improved HTTP error handling and logging to ease troubleshooting