[IBP] Increase http request timeout in fuel-agent
Previously, it was set to 1 sec and caused to a lot of erroneously closed http connections if the downloading speed goes below 1MiB/s. Setting it to 10 secs will allow to prevent the connection expiration when the momentary network bandwidth is not enough. Related-Bug: #1438265 Change-Id: I2f8d8f9e2f9ed5ab445a10a91efe80cbe8e04295
This commit is contained in:
parent
bbbcf035ec
commit
a70f4a8cb4
@ -41,7 +41,10 @@ u_opts = [
|
|||||||
),
|
),
|
||||||
cfg.FloatOpt(
|
cfg.FloatOpt(
|
||||||
'http_request_timeout',
|
'http_request_timeout',
|
||||||
default=1.0,
|
# Setting it to 10 secs will allow fuel-agent to overcome the momentary
|
||||||
|
# peak loads when network bandwidth becomes as low as 0.1MiB/s, thus
|
||||||
|
# preventing of wasting too much retries on such false positives.
|
||||||
|
default=10.0,
|
||||||
help='Http request timeout in seconds',
|
help='Http request timeout in seconds',
|
||||||
),
|
),
|
||||||
cfg.FloatOpt(
|
cfg.FloatOpt(
|
||||||
|
Loading…
Reference in New Issue
Block a user