chiark / gitweb /
git-cache-proxy: Do not spuriously timeout on too many simultaneous invocations
[chiark-utils.git] / scripts / git-cache-proxy
index 438dbf5f474ef3613275bcd47e34cd2f04e59e01..e87a80329e313663515e8d23f96c8083335ca1d1 100755 (executable)
@@ -29,7 +29,7 @@
 
 # git-cache-proxy
 # Copyright 2010 Tony Finch
-# Copyright 2013 Ian Jackson
+# Copyright 2013,2014 Ian Jackson
 # 
 # git-cache-proxy is free software; you can redistribute it and/or
 # modify them under the terms of the GNU General Public License as
@@ -360,6 +360,7 @@ sub clonefetch () {
                servinfo "fetch/clone failed: $fetchfail";
            }
        }
+        alarm 0;
 
        if (!$exists) {
            rename $tmpd, $gitd or fail "rename fresh $tmpd to $gitd: $!";