mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 17:28:53 +00: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