Skip to content

Commit

Permalink
Merge pull request #601 from tablelandnetwork/bcalza/inctimeout2
Browse files Browse the repository at this point in the history
increase timeout filter logs
  • Loading branch information
brunocalza committed Jul 27, 2023
2 parents a19c5aa + ad74921 commit 379b0fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/eventprocessor/eventfeed/impl/eventfeed.go
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, 60*time.Second)
ctx, cancel := context.WithTimeout(ctx, 90*time.Second)
defer cancel()
logs, err := ef.ethClient.FilterLogs(ctx, query)
if err != nil {
Expand Down

0 comments on commit 379b0fd

Please sign in to comment.