Prune a bit more aggressively.

This commit is contained in:
JoelKatz
2012-11-01 08:46:37 -07:00
parent 02e1fad3c6
commit dbebe9ccdf

View File

@@ -96,9 +96,6 @@ template<typename c_Key, typename c_Data> void TaggedCache<c_Key, c_Data>::sweep
{
boost::recursive_mutex::scoped_lock sl(mLock);
if (mCache.size() < mTargetSize)
return;
mLastSweep = time(NULL);
time_t target = mLastSweep - mTargetAge;