From ba11d4679a8024bc26066ec7fd6bc30bb54967c8 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 8 May 2017 17:21:12 +0100 Subject: [PATCH] git-cache-proxy: Radically increase several timeouts. Experience in the Xen Project Massachusetts test lab shows that these are too low. Signed-off-by: Ian Jackson --- debian/changelog | 1 + scripts/git-cache-proxy | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index c2dbeb9..962c562 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,7 @@ chiark-utils (5.0.3~citrix2) unstable; urgency=medium git-cache-proxy: * New --serve-timeout option. + * Radically increase several timeouts. Copyright faff: * Add DEVELOPER-CERTIFICATE file and start using S-o-b practice. diff --git a/scripts/git-cache-proxy b/scripts/git-cache-proxy index ffdf6ea..52e01d0 100755 --- a/scripts/git-cache-proxy +++ b/scripts/git-cache-proxy @@ -65,9 +65,9 @@ our $us = 'git-cache-proxy'; our $debug = 0; our $housekeepingeverydays = 1; our $treeexpiredays = 21; -our $fetchtimeout = 1800; -our $maxfetchtimeout = 3600; -our $servetimeout = 1000; +our $fetchtimeout = 3600; +our $maxfetchtimeout = 7200; +our $servetimeout = 3600; our $cachedir = '/var/cache/git-cache-proxy'; our $housekeepingonly = 0; -- 2.30.2