Commit 806c8eb3 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis

Log start/stop in syncer backend

parent 5d0cf099
......@@ -118,10 +118,12 @@ class FileSyncer(object):
def start_decide(self):
if not self.decide_active:
self.decide_thread = self._poll_decide()
logger.info("Started syncing")
def stop_decide(self, timeout=None):
if self.decide_active:
self.decide_thread.stop()
logger.info("Stopped syncing")
return utils.wait_joins([self.decide_thread], timeout)
return timeout
......
Markdown is supported
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