[chore] update default http client timeout to 30s (#3214)
This commit is contained in:
parent
c78c3d5ed9
commit
e1154453bb
|
@ -933,9 +933,9 @@ http-client:
|
|||
# Duration. Timeout to use for outgoing HTTP requests. If the timeout
|
||||
# is exceeded, the connection to the remote server will be dropped.
|
||||
# A value of 0s indicates no timeout: this is not advised!
|
||||
# Examples: ["5s", "10s", "0s"]
|
||||
# Default: "10s"
|
||||
timeout: "10s"
|
||||
# Examples: ["5s", "30s", "0s"]
|
||||
# Default: "30s"
|
||||
timeout: "30s"
|
||||
|
||||
########################################
|
||||
#### RESERVED IP RANGE EXCEPTIONS ######
|
||||
|
|
|
@ -213,7 +213,7 @@ var Defaults = Configuration{
|
|||
HTTPClient: HTTPClientConfiguration{
|
||||
AllowIPs: make([]string, 0),
|
||||
BlockIPs: make([]string, 0),
|
||||
Timeout: 10 * time.Second,
|
||||
Timeout: 30 * time.Second,
|
||||
TLSInsecureSkipVerify: false,
|
||||
},
|
||||
|
||||
|
|
|
@ -96,7 +96,7 @@ EXPECT=$(cat << "EOF"
|
|||
"http-client": {
|
||||
"allow-ips": [],
|
||||
"block-ips": [],
|
||||
"timeout": 10000000000,
|
||||
"timeout": 30000000000,
|
||||
"tls-insecure-skip-verify": false
|
||||
},
|
||||
"instance-deliver-to-shared-inboxes": false,
|
||||
|
|
Loading…
Reference in New Issue