Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
cecbc173 by Cédric Krier at 2024-08-26T09:33:58+02:00
Retry to get a connection when an OperationalError is raised

If there are no connection available in the pool, psycopg2 tries to create a
new connection but it may raise an OperationalError if the server close it.

Closes #13475
- - - - -


1 changed file:

- trytond/trytond/backend/postgresql/database.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/cecbc1736f2d0fdd8a77c1dcdfe81e23cf99f451

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/cecbc1736f2d0fdd8a77c1dcdfe81e23cf99f451
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to