def _wake(self):
"""This class periodically sends registration messages using Clog"""
if self.send_messages:
self.publish_registration_messages()
# The purpose of the Timer is for _wake to ensure it is called
self.current_thread = threading.Timer(self.threshold, self._wake)
self.current_thread.start()
评论列表
文章目录