Skip to content

set connection pool params

We're seeing several database timeout errors with the message "MySQL server has gone away (TimeoutError(110, 'Connection timed out')). I believed these are a result of sending multiple requests to the database in quick succession. These connection pool config values should help sqlalchemy manage concurrent connections and more gracefully handle stale connections. https://docs.sqlalchemy.org/en/20/core/pooling.html#pool-disconnects

Merge request reports

Loading