We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
specs: Debian12 Python3.11 server location: Germany
问题: 在升级0.1.0b18版本后,机器人在执行matcher后不在接收新的event(包括inline事件等),直到当前matcher执行完毕后才处理下一个event。
代码(简单复现): from nonebot.plugin import on_command import asyncio bar = on_command("test", priority=10) @bar.handle() async def handle_function(): await bar.send("10s后发信息哦") await asyncio.sleep(10) await bar.finish("喵!")
from nonebot.plugin import on_command import asyncio bar = on_command("test", priority=10) @bar.handle() async def handle_function(): await bar.send("10s后发信息哦") await asyncio.sleep(10) await bar.finish("喵!")
在0.1.0b18会存在上述问题,但是回滚到0.1.0b17则不会有上述问题。 已经尝试切换过dev prod,添加apiserver,问题依旧存在。
The text was updated successfully, but these errors were encountered:
🐛 fix async (#74)
c3dbcab
No branches or pull requests
specs: Debian12 Python3.11
server location: Germany
问题:
在升级0.1.0b18版本后,机器人在执行matcher后不在接收新的event(包括inline事件等),直到当前matcher执行完毕后才处理下一个event。
代码(简单复现):
from nonebot.plugin import on_command import asyncio bar = on_command("test", priority=10) @bar.handle() async def handle_function(): await bar.send("10s后发信息哦") await asyncio.sleep(10) await bar.finish("喵!")
在0.1.0b18会存在上述问题,但是回滚到0.1.0b17则不会有上述问题。
已经尝试切换过dev prod,添加apiserver,问题依旧存在。
The text was updated successfully, but these errors were encountered: