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:16:06 +0000 (19:16 -0700)
commitc71146ee4ae7c9c9c15a17de6bd8f3abf376d1d6
treee6b97f916e36a3c1409c7d364506bac009fc2433
parent4762f2f388727d30d4d0b1ba3d2eb3da94d83871
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