зеркало из https://github.com/Azure/ARO-RP.git
Add discription for why the retry delay was changed to 3 seconds
This commit is contained in:
Родитель
8e976902b5
Коммит
e007f1e0ff
|
@ -26,6 +26,12 @@ func NewClientOptions() *ClientOptions {
|
|||
azcore.ClientOptions{
|
||||
Retry: policy.RetryOptions{
|
||||
MaxRetries: 3,
|
||||
// ARO-2567
|
||||
// If the retry logic takes longer than 60 seconds,
|
||||
// the correct error message will not be captured.
|
||||
// With a setting of 3 seconds it was erroring out
|
||||
// in ~30 seconds (3 seconds + 12 seconds + round
|
||||
// trip / response time from all 3 calls).
|
||||
RetryDelay: time.Second * 3,
|
||||
},
|
||||
Telemetry: policy.TelemetryOptions{
|
||||
|
|
Загрузка…
Ссылка в новой задаче