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

你可能感兴趣的:(Python操作系统相关技能)