Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
-chiark-utils (5.0.3~iwj) unstable; urgency=medium
+chiark-utils (5.0.3~citrix2) unstable; urgency=medium
with-lock-ex:
* Switch to using getopt.
* New -t (timeout) option. Closes:#858555.
with-lock-ex:
* Switch to using getopt.
* New -t (timeout) option. Closes:#858555.
+ git-cache-proxy:
+ * New --serve-timeout option.
+
Copyright faff:
* Add DEVELOPER-CERTIFICATE file and start using S-o-b practice.
* Convert with-lock-ex to MIT, since the PD dedication is not
Copyright faff:
* Add DEVELOPER-CERTIFICATE file and start using S-o-b practice.
* Convert with-lock-ex to MIT, since the PD dedication is not
our $treeexpiredays = 21;
our $fetchtimeout = 1800;
our $maxfetchtimeout = 3600;
our $treeexpiredays = 21;
our $fetchtimeout = 1800;
our $maxfetchtimeout = 3600;
+our $servetimeout = 1000;
our $cachedir = '/var/cache/git-cache-proxy';
our $housekeepingonly = 0;
our $cachedir = '/var/cache/git-cache-proxy';
our $housekeepingonly = 0;
$cachedir = $1;
} elsif (s/^--( max-fetch-timeout
| fetch-timeout
$cachedir = $1;
} elsif (s/^--( max-fetch-timeout
| fetch-timeout
| tree-expire-days
| housekeeping-interval-days
)=(\d+)$//x) {
| tree-expire-days
| housekeeping-interval-days
)=(\d+)$//x) {
chdir $gitd or fail "chdir $gitd: $!";
chdir $gitd or fail "chdir $gitd: $!";
- exec qw(git-upload-pack --strict --timeout=1000 .)
+ exec qw(git-upload-pack --strict), "--timeout=$servetimeout", qw(.)
or fail "exec git-upload-pack: $!";
}
or fail "exec git-upload-pack: $!";
}