runtime: extend external acp timeout budget
This commit is contained in:
parent
e3bf2063a2
commit
a205547677
@ -22,6 +22,7 @@ import (
|
||||
|
||||
const (
|
||||
inboundAuthorizationHeaderKey = "bridgeAuthorizationHeader"
|
||||
externalACPHTTPTimeout = 5 * time.Minute
|
||||
)
|
||||
|
||||
func buildResolvedExecutionParams(
|
||||
@ -243,7 +244,7 @@ func requestExternalACPHTTP(
|
||||
if normalized := normalizeAuthorizationHeader(authorization); normalized != "" {
|
||||
req.Header.Set("Authorization", normalized)
|
||||
}
|
||||
response, err := (&http.Client{Timeout: 2 * time.Minute}).Do(req)
|
||||
response, err := (&http.Client{Timeout: externalACPHTTPTimeout}).Do(req)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
@ -5,7 +5,7 @@ IMAGE_REF="${1:?image_ref is required}"
|
||||
RETRYABLE_TRANSPORT=10
|
||||
RETRYABLE_NOT_READY=11
|
||||
FAST_HTTP_TIMEOUT_SECONDS=20
|
||||
BRIDGE_RPC_TIMEOUT_SECONDS=130
|
||||
BRIDGE_RPC_TIMEOUT_SECONDS=330
|
||||
|
||||
normalize_url() {
|
||||
local value="$1"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user