Files
ironic-python-agent/ironic_python_agent/tests/unit
Afonne-CID e1a31eb97a Hard stop on image download duration threshold
Adds a wall timeout `image_download_max_timeout` to enforce an upper
bound on total download duration.

While the per-chunk timeout protects against stalled reads, downloads
that trickle in just under the timeout threshold (e.g., due to heavy
TCP retransmits) can hang for longer than intended.

Now, if the total allowed time is exceeded, the download is aborted with
a non-retryable `ImageDownloadTimeoutError` regardless of per-chunk
retry or connection success.

A value of 0 (the default) disables this feature.

Closes-Bug: #2115995
Change-Id: I3b56d21abae0488853bfed14072ba21116d47baf
Signed-off-by: Afonne-CID <afonnepaulc@gmail.com>
2025-07-21 22:56:05 +01:00
..
2025-04-03 16:31:51 +08:00
2024-10-24 15:07:56 +13:00
2015-08-18 16:19:47 +00:00
2025-01-14 11:59:06 -08:00
2020-05-12 10:57:23 +02:00
2025-01-14 11:59:06 -08:00
2020-05-12 10:57:23 +02:00
2025-01-14 11:59:06 -08:00
2025-01-14 11:59:06 -08:00