Skip to content

Commit

Permalink
Merge pull request #600 from tablelandnetwork/bcalza/inctimeout
Browse files Browse the repository at this point in the history
increase filter logs timeout
  • Loading branch information
brunocalza committed Jul 27, 2023
2 parents ea1628e + 3d283e9 commit a19c5aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/eventprocessor/eventfeed/impl/eventfeed.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ func (ef *EventFeed) Start(
}

func (ef *EventFeed) filterLogs(ctx context.Context, query ethereum.FilterQuery) ([]types.Log, error) {
ctx, cancel := context.WithTimeout(ctx, 30*time.Second)
ctx, cancel := context.WithTimeout(ctx, 60*time.Second)
defer cancel()
logs, err := ef.ethClient.FilterLogs(ctx, query)
if err != nil {
Expand Down

0 comments on commit a19c5aa

Please sign in to comment.