aio-libs / aiomysql

aiomysql is a library for accessing a MySQL database from the asyncio
https://aiomysql.rtfd.io
MIT License
1.72k stars 254 forks source link

Old patches: preventing unexpected exceptions and freezes #982

Open andr-04 opened 2 months ago

andr-04 commented 2 months ago

What do these changes do?

These are old patches aimed to fix the following:

  1. Safe writing to socket and return OperationalError in case the connection was lost: #453.
  2. Notify connection pool in any case, even if an exception happened during the connection, to resume the connection by another task in a queue (otherwise they are being frozen).

Checklist