update registry with nested obj

This commit is contained in:
Xuwznln
2025-09-19 03:44:18 +08:00
parent e5006285df
commit 01f8816597
14 changed files with 144 additions and 81 deletions

View File

@@ -208,7 +208,6 @@ def main():
os.path.join(os.path.dirname(os.path.dirname(__file__)), "config", "example_config.py"), config_path
)
print_status(f"已创建 local_config.py 路径: {config_path}", "info")
os._exit(1)
else:
os._exit(1)
# 加载配置文件

View File

@@ -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):