the pessimistic disconnect logic will help you in dealing with
connections that are stale, such as if the database was restarted, and
you'd like to ensure new connections from the pool are always live.
However, if you are getting these 3135 errors in the middle of
inserting a BLOB or something
Thanks Jonathan - I'll take a look
On Monday, 9 July 2018 22:09:57 UTC+1, Jonathan Vanasco wrote:
>
> http://docs.sqlalchemy.org/en/latest/core/pooling.html
>
> specifically:
>
> http://docs.sqlalchemy.org/en/latest/core/pooling.html#disconnect-handling-pessimistic
> and
>
>
http://docs.sqlalchemy.org/en/latest/core/pooling.html
specifically:
http://docs.sqlalchemy.org/en/latest/core/pooling.html#disconnect-handling-pessimistic
and
http://docs.sqlalchemy.org/en/latest/core/pooling.html#custom-legacy-pessimistic-ping
There is also: