We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75b0736 commit 4541d4bCopy full SHA for 4541d4b
packages/daemon/src/services/index.ts
@@ -859,7 +859,9 @@ export const checkForMissedEvents = async (context: Context): Promise<{ hasNewEv
859
return res;
860
},
861
{
862
- maxRetries: 3,
+ // It's possible that the fullnode is under high load or having intermittent issues,
863
+ // so we use a higher number of retries to give it a chance to recover
864
+ maxRetries: 10,
865
initialDelayMs: 1000,
866
maxDelayMs: 10000,
867
backoffMultiplier: 2,
packages/daemon/src/utils/retry.ts
@@ -16,7 +16,7 @@ export interface RetryOptions {
16
}
17
18
const DEFAULT_OPTIONS: Required<RetryOptions> = {
19
+ maxRetries: 5,
20
21
22
0 commit comments