diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-02-02 21:48:22 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-02-02 21:48:22 -0800 |
commit | 484e669aa772a3f6386d0f03f7c75af603801813 (patch) | |
tree | ba785eb29d1657e192601e5a6761acaf54da7973 /gitweb/README | |
parent | 347d04d0e2a0f5813a80eed7ce2b38debaf5ce00 (diff) | |
parent | aa14013abf27637dc2a2c0bee56fb98a981ee08d (diff) | |
download | git-484e669aa772a3f6386d0f03f7c75af603801813.tar.gz |
Merge branch 'jh/gitweb-caching' (early part)
* 'jh/gitweb-caching' (early part):
gitweb: Add optional extra parameter to die_error, for extended explanation
gitweb: add a "string" variant of print_sort_th
gitweb: add a "string" variant of print_local_time
gitweb: Check that $site_header etc. are defined before using them
gitweb: Makefile improvements
gitweb: Load checking
gitweb: Make running t9501 test with '--debug' reliable and usable
Diffstat (limited to 'gitweb/README')
-rw-r--r-- | gitweb/README | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gitweb/README b/gitweb/README index e34ee793ef..6c2c8e1259 100644 --- a/gitweb/README +++ b/gitweb/README @@ -174,7 +174,7 @@ not include variables usually directly set during build): Base URL for relative URLs in pages generated by gitweb, (e.g. $logo, $favicon, @stylesheets if they are relative URLs), needed and used only for URLs with nonempty PATH_INFO via - <base href="$base_url>. Usually gitweb sets its value correctly, + <base href="$base_url">. Usually gitweb sets its value correctly, and there is no need to set this variable, e.g. to $my_uri or "/". * $home_link Target of the home link on top of all pages (the first part of view @@ -228,6 +228,11 @@ not include variables usually directly set during build): repositories from launching cross-site scripting (XSS) attacks. Set this to true if you don't trust the content of your repositories. The default is false. + * $maxload + Used to set the maximum load that we will still respond to gitweb queries. + If server load exceed this value then return "503 Service Unavaliable" error. + Server load is taken to be 0 if gitweb cannot determine its value. Set it to + undefined value to turn it off. The default is 300. Projects list file format |