[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/04: nginx: hydra.gnu.org: Increase timeouts for /nar URLs.
From: |
Ludovic Courtès |
Subject: |
01/04: nginx: hydra.gnu.org: Increase timeouts for /nar URLs. |
Date: |
Thu, 24 Mar 2016 10:33:51 +0000 |
civodul pushed a commit to branch master
in repository maintenance.
commit 7eb809181d489f51551fe078f55ff4a4a15452f5
Author: Ludovic Courtès <address@hidden>
Date: Thu Mar 24 11:23:09 2016 +0100
nginx: hydra.gnu.org: Increase timeouts for /nar URLs.
---
hydra/nginx/hydra.gnu.org-locations.conf | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/hydra/nginx/hydra.gnu.org-locations.conf
b/hydra/nginx/hydra.gnu.org-locations.conf
index a64cb71..eb1a61f 100644
--- a/hydra/nginx/hydra.gnu.org-locations.conf
+++ b/hydra/nginx/hydra.gnu.org-locations.conf
@@ -24,6 +24,13 @@ location /nar/ {
proxy_ignore_client_abort on;
+ # Be more tolerant of delays when fetching a nar. Using a shorter
+ # timeout leads to users retrying, which in turns triggers another
+ # "nix-store --dump foo | bzip2" process, which quickly brings the
+ # machine down.
+ proxy_read_timeout 60s;
+ proxy_send_timeout 60s;
+
# Disable chunked encoding to avoid enormous chunks.
#chunked_transfer_encoding off;