mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Memory fixes.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user