Menu

Commit [r10002]  Maximize  Restore  History

db: fair attribution of Connections

This changes the logic of the pool into a true FIFO behavior: if there are already waiters, a thread will just wait and not preempt the waiters, unless it came there after resuming from a wait, in which case it should always get the connection.

Fixes #9111.

cboos 2010-08-12

changed /branches/0.12-stable/trac/db/pool.py
/branches/0.12-stable/trac/db/pool.py Diff Switch to side-by-side view
Loading...
Auth0 Logo