Skip to content

Commit 17bea57

Browse files
committed
Increase retry attempts up to 10min
1 parent 8c10a7c commit 17bea57

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

internal/exporter/host/host.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,11 @@ func NewExporterHostSyncer(cfg *config.Config,
7070
dryRun: dryRun,
7171
debugConfigs: debugConfigs,
7272
exporterFilter: exporterFilter,
73+
// this provides 10 minutes of retries with a max delay of 120 seconds
7374
retryConfig: RetryConfig{
74-
MaxAttempts: 3,
75+
MaxAttempts: 9,
7576
BaseDelay: 5 * time.Second,
76-
MaxDelay: 60 * time.Second,
77+
MaxDelay: 120 * time.Second,
7778
BackoffMultiplier: 2.0,
7879
},
7980
}

0 commit comments

Comments
 (0)