fix: 消除死锁隐患

This commit is contained in:
Sakura-RanChen
2026-07-09 10:29:41 +08:00
parent 0b8bb728e2
commit a32500a6a4
6 changed files with 20 additions and 21 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ TAG = __name__
class WebSocketServer:
def __init__(self, config: dict):
self.config = config
self.logger = setup_logging()
self.logger = setup_logging(config)
self.config_lock = asyncio.Lock()
modules = initialize_modules(
self.logger,