guix-commits
[Top][All Lists]
Advanced

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

01/01: nginx: mirror: Cache /nar timeouts (504) for a short time.


From: Ludovic Courtès
Subject: 01/01: nginx: mirror: Cache /nar timeouts (504) for a short time.
Date: Thu, 17 Mar 2016 15:30:27 +0000

civodul pushed a commit to branch master
in repository maintenance.

commit 66c1e19a27a4a782895c91db9961027fbb5db764
Author: Ludovic Courtès <address@hidden>
Date:   Thu Mar 17 16:29:38 2016 +0100

    nginx: mirror: Cache /nar timeouts (504) for a short time.
---
 hydra/nginx/mirror-locations.conf |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/hydra/nginx/mirror-locations.conf 
b/hydra/nginx/mirror-locations.conf
index c32789a..8b50133 100644
--- a/hydra/nginx/mirror-locations.conf
+++ b/hydra/nginx/mirror-locations.conf
@@ -38,6 +38,7 @@ location /nar/ {
     # archives.
     proxy_cache nar;
     proxy_cache_valid 200 91d;   # cache hits for 3 months.
+    proxy_cache_valid 504 3m;    # timeout, when hydra.gnu.org is overloaded
     proxy_cache_valid any 1h;    # cache misses/others for 1h.
 
     proxy_ignore_client_abort on;



reply via email to

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