From 088b7bcefea8b36cf673c6fe311438041005270d Mon Sep 17 00:00:00 2001 From: Marek Franciszkiewicz Date: Tue, 5 Jun 2018 13:14:16 +0200 Subject: [PATCH] Skip the async_run call in NetworkConnectionPublisherService --- golem/client.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/golem/client.py b/golem/client.py index 6d9e749f01..c2ee1dd149 100644 --- a/golem/client.py +++ b/golem/client.py @@ -1430,6 +1430,10 @@ def __init__(self, super().__init__(interval_seconds) self._client = client + def _run_async(self): + # Skip the async_run call and publish events in the main thread + self._run() + def _run(self): self._client._publish(Network.evt_connection, self._client.connection_status())