feat: update http retry
This commit is contained in:
@@ -23,9 +23,9 @@ type RetryConfig struct {
|
|||||||
|
|
||||||
// DefaultRetryConfig 默认重试配置
|
// DefaultRetryConfig 默认重试配置
|
||||||
var DefaultRetryConfig = RetryConfig{
|
var DefaultRetryConfig = RetryConfig{
|
||||||
MaxRetries: 2,
|
MaxRetries: 1,
|
||||||
InitialInterval: 100 * time.Millisecond,
|
InitialInterval: 100 * time.Millisecond,
|
||||||
MaxInterval: 5 * time.Second,
|
MaxInterval: 30 * time.Second,
|
||||||
SkipTLSVerify: true,
|
SkipTLSVerify: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user