Opened 19 years ago
Closed 19 years ago
#2973 closed enhancement (fixed)
[patch][fastcgi] Add minspare / maxspare / maxchildren options to threaded implementation of runfcgi
| Reported by: | Owned by: | Adrian Holovaty | |
|---|---|---|---|
| Component: | Core (Other) | Version: | |
| Severity: | normal | Keywords: | fastcgi |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
When looking through flups's threaded server code recently, I noticed that flup (at least recent flup) uses a threadpool, and takes the same minSpare / maxSpare options as the prefork implementation, and even will take a similar maxThreads option. I've attached a patch which maps the relevant runfcgi options into flup. Unfortunately, there's no 'maxrequests' option as recently added to the prefork implementation #2969
Attached patch adds the WSGI option and changes the runfcgi help to reflect the changes. Code has been tested as working in a production environment.
Attachments (1)
Change History (3)
by , 19 years ago
| Attachment: | fastcgi-threadpool-options.diff added |
|---|
comment:2 by , 19 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
... actually marking as closed this time :)
Allow runfcgi to pass threadpool options to flup