Skip to content

Commit

Permalink
reduce filter size
Browse files Browse the repository at this point in the history
  • Loading branch information
b1674927 committed Apr 10, 2024
1 parent 3d31007 commit c038767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/filterer/filterer.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func (F *Filterer) FilterEvents(eventType EventType, startBlock, endBlock uint64
var reportCount int
var pathLen = float64(nowBlock - startBlock)
// filter payments in batches of 32_768 (and decreasing) blocks to avoid RPC limit
deltaBlock := uint64(32_768)
deltaBlock := uint64(10_000)
for trial := 0; trial < 7; trial++ {
err = nil
if trial > 0 {
Expand Down

0 comments on commit c038767

Please sign in to comment.