This repository was archived by the owner on Sep 9, 2023. It is now read-only.
Is there a way to force WS reconnection from time to time? #338
CarlosASilveira
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I would like to know if I can force a reset of the open WS, for example, disconnect and connect again every 1h.
I noticed that after a while or after a very volatile moment in the market, the data starts to fail, to be truncated or even disordered. I don't know if it's buffer size issue or really a communication bug.
I believe that it could even be a problem with the WS buffer queue, as I am collecting all time frames of all coin/USDT pairs.
The only solution that comes to mind would be this temporal reconnection.
Any idea?
Thanks you so much.
Beta Was this translation helpful? Give feedback.
All reactions