1
0
forked from bot/app

🐛 [channel]: 暂停通道接收功能

This commit is contained in:
2024-09-01 11:05:01 +08:00
parent 8510b0ed3f
commit ae18bfaee1
2 changed files with 0 additions and 18 deletions

View File

@ -132,8 +132,6 @@ class ProcessManager:
"""
对外启动方法启动所有进程创建asyncio task
"""
[asyncio.create_task(chan.start_receive_loop()) for chan in get_channels().values()]
[asyncio.create_task(sm.start_receive_loop()) for sm in [shared_memory]]
[asyncio.create_task(self._run_process(name)) for name in self.targets]
def add_target(self, name: str, target: TARGET_FUNC, args: tuple = (), kwargs=None):