python: Added a request limiter to ashd-wsgi.
[ashd.git] / python / doc / ashd-wsgi.doc
index 25531ff..b73f90d 100644 (file)
@@ -7,7 +7,7 @@ ashd-wsgi - WSGI adapter for ashd(7)
 
 SYNOPSIS
 --------
-*ashd-wsgi* [*-hA*] [*-p* 'MODPATH'] 'HANDLER-MODULE' ['ARGS'...]
+*ashd-wsgi* [*-hA*] [*-p* 'MODPATH'] [*-l* 'LIMIT'] 'HANDLER-MODULE' ['ARGS'...]
 
 DESCRIPTION
 -----------
@@ -54,6 +54,14 @@ OPTIONS
        on Python's module path by default, so if you want to use a
        module in that directory, you will need to specify "`-p .`".
 
+*-l* 'LIMIT'::
+
+       Allow at most 'LIMIT' requests to run concurrently. If a new
+       request is made when 'LIMIT' requests are executing, the new
+       request will wait up to ten seconds for one of them to
+       complete; if none does, the *ashd-wsgi* will assume that the
+       process is foobar and *abort*(3).
+
 PROTOCOL
 --------