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
while True:
tpool.starmap(get_data_from_websocket, task_list)
if wss.conn and wss.conn.connected.is_set():
time.sleep(5)
else:
wss = wss.reset()
time.sleep(10)
and when the connection is close
got unlimited print as below
INFO:btfxwss.client:reset(): Waiting for connection to be set up..
INFO:btfxwss.client:reset(): Waiting for connection to be set up..
INFO:btfxwss.client:reset(): Waiting for connection to be set up..
INFO:btfxwss.client:reset(): Waiting for connection to be set up..
INFO:btfxwss.client:reset(): Waiting for connection to be set up..
INFO:btfxwss.client:reset(): Waiting for connection to be set up..
what's wrong with my code,
or right way to reconnect?
and when the connection is close
got unlimited print as below
what's wrong with my code,
or right way to reconnect?