Fix vardbapi.flush_cache() so that it only updates the cache when the
authorZac Medico <zmedico@gentoo.org>
Wed, 4 Jun 2008 01:23:05 +0000 (01:23 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 4 Jun 2008 01:23:05 +0000 (01:23 -0000)
commitd3d74ba390a663c5585090875fcb26d30ad3a824
tree8f141f47b04081a242254b6e7bd4fce7648128f3
parent3fc4afe8ef63fe8d591b842388c87015acb05047
Fix vardbapi.flush_cache() so that it only updates the cache when the
number of uncached packages reaches a certain threshold (currently 5).
The cache file can be several megabytes in size, so updating it for
every vdb change is wasteful. (trunk r10548)

svn path=/main/branches/2.1.2/; revision=10568
pym/portage.py