mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 03:55:55 +00:00
refactor: remove legacy config files (#1294)
This commit is contained in:
committed by
GitHub
parent
edc7f81486
commit
c8f331675c
@@ -20,7 +20,7 @@ class Controller:
|
||||
|
||||
def __init__(self, ap: app.Application):
|
||||
self.ap = ap
|
||||
self.semaphore = asyncio.Semaphore(self.ap.system_cfg.data['pipeline-concurrency'])
|
||||
self.semaphore = asyncio.Semaphore(self.ap.instance_config.data['concurrency']['pipeline'])
|
||||
|
||||
async def consumer(self):
|
||||
"""事件处理循环
|
||||
|
||||
Reference in New Issue
Block a user