Integrated: 2666: Increase HTTP timeout for GitLab PUT/POST operations on files
Erik Joelsson
erikj at openjdk.org
Thu Feb 26 19:28:19 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.
This pull request has now been integrated.
Changeset: bcf3f42e
Author: Erik Joelsson <erikj at openjdk.org>
URL: https://git.openjdk.org/skara/commit/bcf3f42ee75d50164ef6c4194009bcb96273c8d8
Stats: 19 lines in 2 files changed: 14 ins; 0 del; 5 mod
2666: Increase HTTP timeout for GitLab PUT/POST operations on files
Reviewed-by: tbell
-------------
PR: https://git.openjdk.org/skara/pull/1752
More information about the skara-dev
mailing list