You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/retry.go
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ const (
30
30
DefaultMaxElapsedTime=0*time.Second// Maximum time all retries may take. `0` corresponds to no limit on the time of the retries.
31
31
DefaultRandomizationFactorfloat64=0// Randomization (Jitter) factor used to map retry interval to a range of values around the computed interval. In precise terms (random value in range [1 - randomizationfactor, 1 + randomizationfactor]). NOTE: This is set to 0 as we do not use jitter in Aligned.
32
32
DefaultMultiplierfloat64=2// Multiplier factor computed exponential retry interval is scaled by.
33
-
DefaultNumRetriesuint64=3// Total number of retries attempted.
33
+
DefaultMaxNumRetriesuint64=3// Total number of retries attempted.
34
34
ChainInitialInterval=12*time.Second// Initial delay for retry interval for contract calls. Corresponds to 1 ethereum block.
35
35
ChainMaxInterval=2*time.Minute// Maximum interval for an individual retry.
36
36
)
@@ -41,7 +41,7 @@ type RetryConfig struct {
41
41
MaxElapsedTime time.Duration// Maximum time all retries may take. `0` corresponds to no limit on the time of the retries.
0 commit comments