Skip to content

Commit 137c519

Browse files
committed
relax retries
Signed-off-by: Markus Blaschke <[email protected]>
1 parent 8f59509 commit 137c519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

azuremetadata/metadata.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func (m *AzureMetadata) Init() {
3333
// retry
3434
m.restClient.SetRetryCount(5)
3535
m.restClient.SetRetryMaxWaitTime(30 * time.Second)
36-
m.restClient.SetRetryWaitTime(5 * time.Second)
36+
m.restClient.SetRetryWaitTime(10 * time.Second)
3737
m.restClient.AddRetryCondition(resty.RetryConditionFunc(func(r *resty.Response, err error) bool {
3838
// retry for 4xx and 5xx
3939
return r.StatusCode() >= http.StatusBadRequest

0 commit comments

Comments
 (0)