guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: hydra: bayfront: Keep connections to hydra-guix-1


From: Christopher Baines
Subject: branch master updated: hydra: bayfront: Keep connections to hydra-guix-129 alive.
Date: Thu, 27 Jul 2023 11:33:37 -0400

This is an automated email from the git hooks/post-receive script.

cbaines pushed a commit to branch master
in repository maintenance.

The following commit(s) were added to refs/heads/master by this push:
     new 39f503f  hydra: bayfront: Keep connections to hydra-guix-129 alive.
39f503f is described below

commit 39f503fc449436179e7a7d4b99dd22feeb4f2191
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Thu Jul 27 16:31:37 2023 +0100

    hydra: bayfront: Keep connections to hydra-guix-129 alive.
    
    To try and reduce the chance of the MDC blocking requests from
    bayfront.
    
    * hydra/bayfront.scm (%bordeaux.guix.gnu.org-nginx-servers): Enable
    keeping connections to hydra-guix-129 alive.
    <services>: Keep up to 2 connections from each NGinx worker process to
    hydra-guix-129 alive.
---
 hydra/bayfront.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/hydra/bayfront.scm b/hydra/bayfront.scm
index 878b81d..c163be1 100644
--- a/hydra/bayfront.scm
+++ b/hydra/bayfront.scm
@@ -630,6 +630,8 @@ if ($http_via) {
 }
 proxy_set_header  Via  $via;"
                    "proxy_cache bordeaux-nar;"
+                   "proxy_http_version 1.1;"
+                   "proxy_set_header Connection \"\";"
                    "proxy_cache_valid 200 28d;"
                    "proxy_ignore_client_abort on;")))
           (nginx-location-configuration
@@ -1196,7 +1198,9 @@ proxy_set_header  Via  $via;"
                          "keepalive_requests 10000;")))
                      (nginx-upstream-configuration
                       (name "nar-storage")
-                      (servers '("hydra-guix-129.guix.gnu.org:443")))
+                      (servers '("hydra-guix-129.guix.gnu.org:443"))
+                      (extra-content
+                       '("keepalive 2;")))
                      (nginx-upstream-configuration
                       (name "qa-frontpage")
                       (servers '("localhost:8765")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]