You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
asyncmy cannot close connections properly when pool is closed or connections in pool timed out. Example for connection pool in readme causes error messages on mysql server:
[Note] [MY-010914] [Server] Aborted connection ... to db ... (Got an error reading communication packets)
Traffic analysis indicates that there are no COM_QUIT packets sent when closing connections in connection pool. It seems that this is because connection pool uses conn.close() to close connections in pool, which simply remove the socket without sending COM_QUIT packets to server. Change it to conn.ensure_closed() will solve the problem.
The text was updated successfully, but these errors were encountered:
asyncmy cannot close connections properly when pool is closed or connections in pool timed out. Example for connection pool in readme causes error messages on mysql server:
Traffic analysis indicates that there are no COM_QUIT packets sent when closing connections in connection pool. It seems that this is because connection pool uses
conn.close()
to close connections in pool, which simply remove the socket without sending COM_QUIT packets to server. Change it toconn.ensure_closed()
will solve the problem.The text was updated successfully, but these errors were encountered: