reduce TX_FLUSH_SIZE
This commit is contained in:
parent
7f01b1cb84
commit
5328ed105e
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ TREND_MAIN_EVENT = Event.add("blockchain.sync.trends.main", "blocks")
|
|||
|
||||
class BlockchainSync(Sync):
|
||||
|
||||
TX_FLUSH_SIZE = 100_000 # flush to db after processing this many TXs and update progress
|
||||
TX_FLUSH_SIZE = 50_000 # flush to db after processing this many TXs and update progress
|
||||
FILTER_CHUNK_SIZE = 100_000 # split filter generation tasks into this size block chunks
|
||||
FILTER_FLUSH_SIZE = 10_000 # flush to db after processing this many filters and update progress
|
||||
CLAIM_CHUNK_SIZE = 50_000 # split claim sync tasks into this size block chunks
|
||||
|
|
Loading…
Reference in a new issue