Skip to content

Commit

Permalink
increase unindexedLogs batch size
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Jan 28, 2025
1 parent 9ada8b0 commit 9fccd26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsonrpc/namespaces/eth/filters/filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ func (f *Filter) indexedLogs(ctx context.Context, end uint64, logChan chan *core
// unindexedLogs returns the logs matching the filter criteria based on raw block
// iteration and bloom matching.
func (f *Filter) unindexedLogs(ctx context.Context, logChan chan *coretypes.Log) error {
const batchSize = 100
const batchSize = 500

g, innerCtx := errgroup.WithContext(ctx)
diff := f.end - f.begin + 1
Expand Down

0 comments on commit 9fccd26

Please sign in to comment.