Memory fixes.

This commit is contained in:
JoelKatz
2013-01-08 01:14:55 -08:00
parent 2626368b26
commit 79c3f777aa
3 changed files with 5 additions and 4 deletions

View File

@@ -745,7 +745,7 @@ void LedgerAcquireMaster::sweep()
{
if (it->second->getLastAction() > now)
it->second->touch();
else if ((it->second->getLastAction() + 500) < now)
else if ((it->second->getLastAction() + 60) < now)
mLedgers.erase(it++);
else
++it;