Menu

Commit [r7375]  Maximize  Restore  History

Don't keep hold of a connection into a !CachedRepository instance.

Those objects are themselves cached for the duration of a request, so this can prevent a db connection to be returned to the pool during all this time.

cboos 2008-07-22

changed /branches/0.11-stable/trac/versioncontrol/cache.py
changed /branches/0.11-stable/trac/versioncontrol/svn_fs.py
/branches/0.11-stable/trac/versioncontrol/cache.py Diff Switch to side-by-side view
Loading...
/branches/0.11-stable/trac/versioncontrol/svn_fs.py Diff Switch to side-by-side view
Loading...