mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-10 21:23:27 +01:00
Check if LMDB needs resize every 1000 blocks
(this was 10 for testing purposes)
This commit is contained in:
parent
b0d849e0a4
commit
01076ae700
@ -1884,7 +1884,7 @@ uint64_t BlockchainLMDB::add_block( const block& blk
|
||||
LOG_PRINT_L3("BlockchainLMDB::" << __func__);
|
||||
check_open();
|
||||
|
||||
if (m_height % 10 == 0)
|
||||
if (m_height % 1000 == 0)
|
||||
{
|
||||
if (need_resize())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user