RuntimeError: readexactly() called while another coroutine is already waiting for incoming data

官方[1]解决方案:

使用连接池

给出的案例是[2]

 Reference:

[1]https://github.com/aio-libs/aiomysql/issues/179

[2]https://github.com/aio-libs/aiomysql/blob/master/examples/example_pool.py

发布了717 篇原创文章 · 获赞 324 · 访问量 157万+

猜你喜欢

转载自blog.csdn.net/appleyuchi/article/details/104529494