Check if LMDB needs resize every 1000 blocks

(this was 10 for testing purposes)
This commit is contained in:
Thomas Winget
2015-05-18 06:18:31 -04:00
parent b0d849e0a4
commit 01076ae700

View File

@@ -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())
{