counter_tick_core: flush the cache (periodically)
authorZac Medico <zmedico@gentoo.org>
Fri, 27 May 2011 02:14:20 +0000 (19:14 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 27 May 2011 02:14:20 +0000 (19:14 -0700)
commitdb603c15e4e820b309d4cf5b99186e5a02a89318
treed799a98ef8579122d3cf3d52685e5ffeae910fc9
parent0105b96356fc9af05af33e9ef4b2d0a662501cec
counter_tick_core: flush the cache (periodically)

Since we hold a lock, this is a good opportunity to flush the cache.
Note that this will only flush the cache periodically in the main
process when _aux_cache_threshold is exceeded.
pym/portage/dbapi/vartree.py