2019-10-25 19:28:44 +00:00
|
|
|
{
|
|
|
|
version: 1.5
|
|
|
|
# verify host ssl certificate, set to False only if you have a very good reason
|
|
|
|
verify_certificate: True
|
|
|
|
|
|
|
|
# default version assigned to requests with no specific version. this is not expected to change
|
|
|
|
# as it keeps us backwards compatible.
|
|
|
|
default_version: 1.5
|
|
|
|
|
|
|
|
http {
|
|
|
|
max_req_size = 15728640 # request size limit (smaller than that configured in api server)
|
|
|
|
|
|
|
|
retries {
|
|
|
|
# retry values (int, 0 means fail on first retry)
|
|
|
|
total: 240 # Total number of retries to allow. Takes precedence over other counts.
|
|
|
|
connect: 240 # How many times to retry on connection-related errors (never reached server)
|
|
|
|
read: 240 # How many times to retry on read errors (waiting for server)
|
|
|
|
redirect: 240 # How many redirects to perform (HTTP response with a status code 301, 302, 303, 307 or 308)
|
|
|
|
status: 240 # How many times to retry on bad status codes
|
|
|
|
|
|
|
|
# backoff parameters
|
|
|
|
# timeout between retries is min({backoff_max}, {backoff factor} * (2 ^ ({number of total retries} - 1))
|
|
|
|
backoff_factor: 1.0
|
|
|
|
backoff_max: 120.0
|
|
|
|
}
|
|
|
|
|
|
|
|
wait_on_maintenance_forever: true
|
|
|
|
|
|
|
|
pool_maxsize: 512
|
|
|
|
pool_connections: 512
|
2022-09-15 17:15:42 +00:00
|
|
|
|
|
|
|
# Override the default http method, use "put" if working behind GCP load balancer (default: "get")
|
|
|
|
# default_method: "get"
|
2019-10-25 19:28:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
auth {
|
2021-08-27 16:14:53 +00:00
|
|
|
# When creating a request, if token will expire in less than this value, try to refresh the token. Default 12 hours
|
|
|
|
token_expiration_threshold_sec: 43200
|
|
|
|
# When requesting a token, request specific expiration time. Server default (and maximum) is 30 days
|
|
|
|
# request_token_expiration_sec: 2592000
|
2019-10-25 19:28:44 +00:00
|
|
|
}
|
|
|
|
}
|