Changeset 4033
- Timestamp:
- 11/06/06 20:01:16 (2 years ago)
- Files:
-
- django/trunk/django/core/servers/fastcgi.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/core/servers/fastcgi.py
r3954 r4033 34 34 maxrequests=NUMBER number of requests a child handles before it is 35 35 killed and a new child is forked (0 = no limit). 36 maxspare=NUMBER max number of spare processes to keep running.37 minspare=NUMBER min number of spare processes to prefork.38 maxchildren=NUMBER hard limit number of processes in prefork mode.36 maxspare=NUMBER max number of spare processes / threads 37 minspare=NUMBER min number of spare processes / threads. 38 maxchildren=NUMBER hard limit number of processes / threads 39 39 daemonize=BOOL whether to detach from terminal. 40 40 pidfile=FILE write the spawned process-id to this file. … … 111 111 elif options['method'] in ('thread', 'threaded'): 112 112 from flup.server.fcgi import WSGIServer 113 wsgi_opts = {} 113 wsgi_opts = { 114 'maxSpare': int(options["maxspare"]), 115 'minSpare': int(options["minspare"]), 116 'maxThreads': int(options["maxchildren"]), 117 } 114 118 else: 115 119 return fastcgi_help("ERROR: Implementation must be one of prefork or thread.")
