Files
tryton/trytond
Cédric Krier e2676bcd85 Discard disconnected connection from the pool
When a connection in the pool is disconnected, it stays in the pool and it may
still be served.
Using such connection raise an OperationalError and so the request is retried
but before that the connection is put back to the pool. So we may get it back
again.
It is not possible to distinct between an OperationalError due to a
disconnection or due to a isolation error for example.
So with the current design of Transaction API, an OperationalError always put
back the connection to the pool.
This main that we can only ensure that the connections served are still
connected by executing a simple query. And close connections that are failing.

Closes #12452
2023-08-04 15:59:35 +02:00
..
2022-12-16 14:43:04 +01:00
2023-08-13 17:08:48 +02:00
2023-05-01 13:19:11 +02:00
2022-12-16 14:43:04 +01:00
2022-12-16 14:43:04 +01:00
2022-12-16 14:43:04 +01:00
2023-04-29 18:52:40 +02:00
2023-04-29 18:52:40 +02:00

trytond
=======

The server of Tryton.
Tryton is business software, ideal for companies of any size, easy to use,
complete and 100% Open Source.
It provides modularity, scalability and security.