Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion pysyncobj/syncobj.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,12 @@ def _autoTickThread(self):
if self.__destroying:
self._doDestroy()
break
self._onTick(self.__conf.autoTickPeriod)
try:
self._onTick(self.__conf.autoTickPeriod)
except Exception:
# log, wait a little and retry
logger.exception('failed _onTick in _autoTickThread')
time.sleep(self.__conf.autoTickPeriod)
except ReferenceError:
pass

Expand Down