Skip to content

Increase response header timeout for artifacts-uploader to an hour

Stan Hu requested to merge sh-increase-response-header-timeout into main

What does this MR do?

Previously artifacts-uploader had a response header timeout set to 10 minutes. This means after sending the entire artifacts body, the HTTP client will wait up to 10 minutes for a response from the server before timing out.

However, that timeout can be reached when large artifacts are uploaded because GitLab Workhorse needs to extract the ZIP metadata via HTTP Range Requests, if the artifacts are stored in object storage. For large files, this could take longer than 10 minutes.

To avoid this timeout, bump the timeout to an hour.

Relates to #37220

Edited by Stan Hu

Merge request reports