Commit 5158239c authored by Ralf's avatar Ralf
Browse files

Make sure we always log SpaceAPI updates

parent 77929ad3
......@@ -45,8 +45,8 @@ class SpaceApi:
# we need to refresh our heartbeta)
now = time.time()
if self._local_state is not None and (self._local_state != self._remote_state or now > self._last_set_at+HEARTBEAT_TIME):
# take action!
( if self._local_state != self._remote_state else logger.debug)("SpaceAPI: Setting to {}".format(self._local_state))
# take action! Always log. This also serves as heartbeat of the log syncing."SpaceAPI: Setting to {}".format(self._local_state))
success = self._do_request(self._local_state)
if success:
self._remote_state = self._local_state
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment