removes timeout for socket before starting worker thread

This commit is contained in:
onyx-and-iris 2024-01-07 11:19:33 +00:00
parent 6aa6db09eb
commit cac236c004

View File

@ -52,6 +52,7 @@ class EventClient:
return type(self).__name__
def subscribe(self):
self.base_client.ws.settimeout(None)
stop_event = threading.Event()
self.worker = threading.Thread(
target=self.trigger, daemon=True, args=(stop_event,)