diff --git a/bfxapi/websockets/generic_websocket.py b/bfxapi/websockets/generic_websocket.py index f155278..20ff37a 100644 --- a/bfxapi/websockets/generic_websocket.py +++ b/bfxapi/websockets/generic_websocket.py @@ -84,6 +84,8 @@ class GenericWebsocket: thread and connection. """ self._start_new_socket() + while True: + time.sleep(1) def get_task_executable(self): """