mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-22 19:03:25 +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