Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
Skip the async_run call in NetworkConnectionPublisherService (#2849)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranciszkiewicz authored Jun 5, 2018
1 parent 334f337 commit 83bfaf3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions golem/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 83bfaf3

Please sign in to comment.