aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorStephen R. van den Berg <srb@cuci.nl>2008-08-14 20:02:20 +0200
committerJunio C Hamano <gitster@pobox.com>2008-08-17 17:43:53 -0700
commit3bd62c21760f92996569bb9335b399a9545a5c41 (patch)
tree205ced564fb8d3cfd35740c6621d014c9565514b /Documentation
parent695605b5080e1957bd9dab1fed35a7fee9814297 (diff)
downloadgit-3bd62c21760f92996569bb9335b399a9545a5c41.tar.gz
git-3bd62c21760f92996569bb9335b399a9545a5c41.tar.xz
git-daemon: rewrite kindergarden, new option --max-connections
Get rid of the fixed array of children and make max-connections dynamic and configurable. Fix the killing code to actually kill the newest connections from duplicate IP-addresses. Avoid forking if too busy already. Signed-off-by: Stephen R. van den Berg <srb@cuci.nl> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-daemon.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/Documentation/git-daemon.txt b/Documentation/git-daemon.txt
index 4ba4b75c1..b08a08cd9 100644
--- a/Documentation/git-daemon.txt
+++ b/Documentation/git-daemon.txt
@@ -9,8 +9,9 @@ SYNOPSIS
--------
[verse]
'git daemon' [--verbose] [--syslog] [--export-all]
- [--timeout=n] [--init-timeout=n] [--strict-paths]
- [--base-path=path] [--user-path | --user-path=path]
+ [--timeout=n] [--init-timeout=n] [--max-connections=n]
+ [--strict-paths] [--base-path=path] [--base-path-relaxed]
+ [--user-path | --user-path=path]
[--interpolated-path=pathtemplate]
[--reuseaddr] [--detach] [--pid-file=file]
[--enable=service] [--disable=service]
@@ -99,6 +100,10 @@ OPTIONS
it takes for the server to process the sub-request and time spent
waiting for next client's request.
+--max-connections::
+ Maximum number of concurrent clients, defaults to 32. Set it to
+ zero for no limit.
+
--syslog::
Log to syslog instead of stderr. Note that this option does not imply
--verbose, thus by default only error conditions will be logged.