RFR: 2666: Increase HTTP timeout for GitLab PUT/POST operations on files
Tim Bell
tbell at openjdk.org
Wed Feb 25 18:56:28 UTC 2026
On Wed, 25 Feb 2026 18:02:41 GMT, Erik Joelsson <erikj at openjdk.org> wrote:
> Recently we have seen problems with HTTP timeouts when interacting with a GitLab instance. These timeouts seem to sometimes cause lingering lock files in the Git repository in the server, which then blocks all write operations on the repository until an admin can remediate. When this happens for the mlbridge bot repo where we store mbox files tracking what emails have been sent for what PRs, the bot stops being able to send more emails.
>
> An admin for this server said that increasing the HTTP timeout might alleviate this issue and make it less likely to trigger. We currently have a timeout of 30s for all HTTP requests, and they recommended increasing this to 60s. In this patch I'm making the timeout configurable on the request builder and setting it to 60s for the particular REST call causing the problem.
Looks good
-------------
Marked as reviewed by tbell (Reviewer).
PR Review: https://git.openjdk.org/skara/pull/1752#pullrequestreview-3856189962
More information about the skara-dev
mailing list