mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
Merge pull request #4161
be02eb9
db_lmdb: demote the 'batch already enabled' log, it's harmless (moneromooo-monero)
This commit is contained in:
commit
2530dc6710
@ -2985,10 +2985,10 @@ void BlockchainLMDB::set_batch_transactions(bool batch_transactions)
|
|||||||
LOG_PRINT_L3("BlockchainLMDB::" << __func__);
|
LOG_PRINT_L3("BlockchainLMDB::" << __func__);
|
||||||
if ((batch_transactions) && (m_batch_transactions))
|
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;
|
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
|
// return true if we started the txn, false if already started
|
||||||
|
Loading…
Reference in New Issue
Block a user