We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18cee14 commit fa8438aCopy full SHA for fa8438a
1 file changed
pysyncobj/syncobj.py
@@ -534,7 +534,12 @@ def _autoTickThread(self):
534
if self.__destroying:
535
self._doDestroy()
536
break
537
- self._onTick(self.__conf.autoTickPeriod)
+ try:
538
+ self._onTick(self.__conf.autoTickPeriod)
539
+ except Exception:
540
+ # log, wait a little and retry
541
+ logger.exception('failed _onTick in _autoTickThread')
542
+ time.sleep(self.__conf.autoTickPeriod)
543
except ReferenceError:
544
pass
545
0 commit comments