Menu

Commit [r3921]  Maximize  Restore  History

Database connection pool: more robust code in case the connection becomes stale.

In particular, this takes into account the fact that a `rollback` can fail at a critical time, as shown in #3894. Also, when a connection is closed in such cases, the `_cursize` must be decremented.

cboos 2006-10-15

changed /trunk/trac/db/pool.py
/trunk/trac/db/pool.py Diff Switch to side-by-side view
Loading...