mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2025-12-17 13:01:12 +00:00
update registry with nested obj
This commit is contained in:
@@ -384,7 +384,7 @@ class MessageProcessor:
|
||||
"""停止消息处理线程"""
|
||||
self.is_running = False
|
||||
if self.thread and self.thread.is_alive():
|
||||
self.thread.join(timeout=5)
|
||||
self.thread.join(timeout=2)
|
||||
logger.info("[MessageProcessor] Stopped")
|
||||
|
||||
def _run(self):
|
||||
@@ -832,7 +832,7 @@ class QueueProcessor:
|
||||
"""停止队列处理线程"""
|
||||
self.is_running = False
|
||||
if self.thread and self.thread.is_alive():
|
||||
self.thread.join(timeout=5)
|
||||
self.thread.join(timeout=2)
|
||||
logger.info("[QueueProcessor] Stopped")
|
||||
|
||||
def _run(self):
|
||||
|
||||
Reference in New Issue
Block a user