mirror of
https://github.com/monero-project/monero.git
synced 2026-01-08 11:21:16 -08:00
Merge pull request #1022
b8c03a5 Remove blocks_per_sync limits (Howard Chu)
This commit is contained in:
@@ -3374,7 +3374,7 @@ bool Blockchain::cleanup_handle_incoming_blocks(bool force_sync)
|
||||
store_blockchain();
|
||||
m_sync_counter = 0;
|
||||
}
|
||||
else if (m_sync_counter >= m_db_blocks_per_sync)
|
||||
else if (m_db_blocks_per_sync && m_sync_counter >= m_db_blocks_per_sync)
|
||||
{
|
||||
if(m_db_sync_mode == db_async)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user