guix-commits
[Top][All Lists]
Advanced

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

branch master updated: hydra: bayfront: Increase proxy timeouts for hpcg


From: Ludovic Courtès
Subject: branch master updated: hydra: bayfront: Increase proxy timeouts for hpcguix-web.
Date: Mon, 19 Feb 2024 07:45:52 -0500

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

civodul pushed a commit to branch master
in repository maintenance.

The following commit(s) were added to refs/heads/master by this push:
     new d31f299  hydra: bayfront: Increase proxy timeouts for hpcguix-web.
d31f299 is described below

commit d31f29989e1689e09ea8c882f77b5863bc988c75
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Feb 19 13:44:21 2024 +0100

    hydra: bayfront: Increase proxy timeouts for hpcguix-web.
    
    Under high load, serving these packages can take a while.
    
    * hydra/bayfront.scm (%hpc.guix.info-nginx-servers): Increase timeouts
    for /browse and /package.
---
 hydra/bayfront.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/hydra/bayfront.scm b/hydra/bayfront.scm
index 7c4f333..3d7f114 100644
--- a/hydra/bayfront.scm
+++ b/hydra/bayfront.scm
@@ -409,8 +409,8 @@ add_header X-Frame-Options SAMEORIGIN;\n")
            (uri "/browse")
            (body '("proxy_pass http://localhost:5000;
                     rewrite .* / break;
-                    proxy_connect_timeout 3s;
-                    proxy_read_timeout 2s;
+                    proxy_connect_timeout 5s;
+                    proxy_read_timeout 3s;
                     error_page 500 502 503 504 = @gnupackages;")))
           (nginx-location-configuration
            ;; These are links to badges and source code on
@@ -427,8 +427,8 @@ add_header X-Frame-Options SAMEORIGIN;\n")
           (nginx-location-configuration
            (uri "/package/")
            (body '("proxy_pass http://localhost:5000;
-                    proxy_connect_timeout 3s;
-                    proxy_read_timeout 2s;
+                    proxy_connect_timeout 5s;
+                    proxy_read_timeout 5s;
                     error_page 500 502 503 504 = @gnupackages;")))
           (nginx-location-configuration
            (uri "/channel/")



reply via email to

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