def run(self):
while 1:
try:
msg = self.input_q.get(True, 10.0)
LOG.info("SyncThread: received message %s " % msg)
self.proc_sync_msg(msg)
except queue.Empty:
LOG.debug("SyncThread: Queue timeout")
except ValueError:
LOG.error("Error processing sync message")
break
LOG.error("SyncThread exiting")
SyncData.sync_thread_running = False
评论列表
文章目录