mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Prune a bit more aggressively.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user