From: Ian Jackson Date: Mon, 8 May 2017 16:21:12 +0000 (+0100) Subject: git-cache-proxy: Radically increase several timeouts. X-Git-Tag: archive/debian/6.0.0~5 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-utils.git;a=commitdiff_plain;h=ba11d4679a8024bc26066ec7fd6bc30bb54967c8;hp=2b42677fc027af957b8622b38da698c4f50f41ae 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 --- 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;