mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-13 06:33:27 +01: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