Skip to content

Commit 426f640

Browse files
authored
Merge pull request #6444 from onflow/jord/backport-en-fetch-collection-10s
Lower retry interval in EN requester engine
2 parents 7767a75 + ab99023 commit 426f640

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmd/execution_builder.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,6 +1048,9 @@ func (exeNode *ExecutionNode) LoadIngestionEngine(
10481048
// consistency of collection can be checked by checking hash, and hash comes from trusted source (blocks from consensus follower)
10491049
// hence we not need to check origin
10501050
requester.WithValidateStaking(false),
1051+
// we have observed execution nodes occasionally fail to retrieve collections using this engine, which can cause temporary execution halts
1052+
// setting a retry maximum of 10s results in a much faster recovery from these faults (default is 2m)
1053+
requester.WithRetryMaximum(10*time.Second),
10511054
)
10521055

10531056
if err != nil {

0 commit comments

Comments
 (0)