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