From cac236c0040e54ae3be5d5bfe8b83dbc585fca0a Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Sun, 7 Jan 2024 11:19:33 +0000 Subject: [PATCH] removes timeout for socket before starting worker thread --- obsws_python/events.py | 1 + 1 file changed, 1 insertion(+) diff --git a/obsws_python/events.py b/obsws_python/events.py index 5002fd5..9289d5f 100644 --- a/obsws_python/events.py +++ b/obsws_python/events.py @@ -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,)