Skip to content

Commit

Permalink
Merge pull request #6444 from onflow/jord/backport-en-fetch-collectio…
Browse files Browse the repository at this point in the history
…n-10s

Lower retry interval in EN requester engine
  • Loading branch information
jordanschalm authored Sep 9, 2024
2 parents 7767a75 + ab99023 commit 426f640
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/execution_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -1048,6 +1048,9 @@ func (exeNode *ExecutionNode) LoadIngestionEngine(
// consistency of collection can be checked by checking hash, and hash comes from trusted source (blocks from consensus follower)
// hence we not need to check origin
requester.WithValidateStaking(false),
// we have observed execution nodes occasionally fail to retrieve collections using this engine, which can cause temporary execution halts
// setting a retry maximum of 10s results in a much faster recovery from these faults (default is 2m)
requester.WithRetryMaximum(10*time.Second),
)

if err != nil {
Expand Down

0 comments on commit 426f640

Please sign in to comment.