Disable CheckAndRemove on file dumps

- Testing theory for lockups
This commit is contained in:
Evan Duffield 2015-07-30 01:33:37 -07:00
parent 805452955b
commit 3fc9ea4adf
3 changed files with 4 additions and 5 deletions

View File

@ -2222,7 +2222,6 @@ void ThreadCheckDarkSendPool()
}
mnodeman.ProcessMasternodeConnections();
masternodePayments.CleanPaymentList();
CleanTransactionLocksList();
//if we've used 90% of the Masternode list then drop all the oldest.

View File

@ -319,8 +319,8 @@ CBudgetDB::ReadResult CBudgetDB::Read(CBudgetManager& objToLoad, bool fDryRun)
LogPrintf("Loaded info from budget.dat %dms\n", GetTimeMillis() - nStart);
LogPrintf(" %s\n", objToLoad.ToString());
if(!fDryRun) {
LogPrintf("Budget manager - cleaning....\n");
objToLoad.CheckAndRemove();
//LogPrintf("Budget manager - cleaning....\n");
//objToLoad.CheckAndRemove();
LogPrintf("Budget manager - result:\n");
LogPrintf(" %s\n", objToLoad.ToString());
}

View File

@ -144,8 +144,8 @@ CMasternodePaymentDB::ReadResult CMasternodePaymentDB::Read(CMasternodePayments&
LogPrintf("Loaded info from mnpayments.dat %dms\n", GetTimeMillis() - nStart);
LogPrintf(" %s\n", objToLoad.ToString());
if(!fDryRun) {
LogPrintf("Masternode payments manager - cleaning....\n");
objToLoad.CleanPaymentList();
//LogPrintf("Masternode payments manager - cleaning....\n");
//objToLoad.CleanPaymentList();
LogPrintf("Masternode payments manager - result:\n");
LogPrintf(" %s\n", objToLoad.ToString());
}