mirror of
https://github.com/monero-project/monero.git
synced 2024-12-14 20:36:31 +02:00
db_lmdb: demote the "batch already enabled" log, it's harmless
This commit is contained in:
parent
702a41034d
commit
be02eb9389
@ -2982,10 +2982,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