mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-23 07:33:53 +08:00
fix: 消除死锁隐患
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user