Skip to content

Commit

Permalink
Merge pull request #73 from celenium-io/fix/increase-timeout
Browse files Browse the repository at this point in the history
Fix: Increase get block data timeout
  • Loading branch information
aopoltorzhicky committed Dec 17, 2023
2 parents f7ffcbb + 53e6df5 commit 9a7d566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/indexer/receiver/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func (r *Module) worker(ctx context.Context, level types.Level) {
default:
}

requestTimeout, cancel := context.WithTimeout(ctx, time.Second*10)
requestTimeout, cancel := context.WithTimeout(ctx, time.Minute)
block, err := r.api.BlockDataGet(requestTimeout, level)
if err != nil {
cancel()
Expand Down

0 comments on commit 9a7d566

Please sign in to comment.