Skip to content

Commit

Permalink
Limit max block fetch to 50 in block_catchup_sequencer to correspond …
Browse files Browse the repository at this point in the history
…to RPC limits
  • Loading branch information
hatemosphere committed Oct 11, 2023
1 parent 958b4d3 commit c580eec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/indexer/lib/indexer/block/catchup/fetcher.ex
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ defmodule Indexer.Block.Catchup.Fetcher do
# DO NOT use them directly in the code. Get options from `state`.

@blocks_batch_size 10
@blocks_concurrency 10
@blocks_concurrency 5
@sequence_name :block_catchup_sequencer

defstruct blocks_batch_size: @blocks_batch_size,
Expand Down

0 comments on commit c580eec

Please sign in to comment.