Merge pull request #4161

be02eb9 db_lmdb: demote the 'batch already enabled' log, it's harmless (moneromooo-monero)
release-v0.5.1
luigi1111 6 years ago
commit 2530dc6710
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

@ -2985,10 +2985,10 @@ void BlockchainLMDB::set_batch_transactions(bool batch_transactions)
LOG_PRINT_L3("BlockchainLMDB::" << __func__);
if ((batch_transactions) && (m_batch_transactions))
{
LOG_PRINT_L0("WARNING: batch transaction mode already enabled, but asked to enable batch mode");
MINFO("batch transaction mode already enabled, but asked to enable batch mode");
}
m_batch_transactions = batch_transactions;
LOG_PRINT_L3("batch transactions " << (m_batch_transactions ? "enabled" : "disabled"));
MINFO("batch transactions " << (m_batch_transactions ? "enabled" : "disabled"));
}
// return true if we started the txn, false if already started

Loading…
Cancel
Save