🐛 fix 通道类回调函数在进程间传递时无法序列号的问题

This commit is contained in:
远野千束 2024-08-10 22:36:30 +08:00
parent 2f8999b5ad
commit 6c39ed8ab5

View File

@ -46,9 +46,7 @@ def _():
@bot.on_after_start @bot.on_after_start
async def _(): async def _():
logger.info("生命周期监控器:启动完成") logger.info("生命周期监控器:启动完成")
while True:
await asyncio.sleep(3)
nbp_chan.send("send by main")
# @mbp_chan.on_receive() # @mbp_chan.on_receive()