Menu

Commit [r10459]  Maximize  Restore  History

0.12.2dev: in session handling, try to avoid table deadlocks (#9705)

- in `Session.save`, split `save_session` transaction in two (actually save the session, then eventually purge the expired sessions)
- always access tables in the same order, first `session`, then `session_attribute`

cboos 2011-01-23

changed /branches/0.12-stable/trac/web/session.py
/branches/0.12-stable/trac/web/session.py Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB