Opened 9 years ago

Closed 9 years ago

#2973 closed enhancement (fixed)

[patch][fastcgi] Add minspare / maxspare / maxchildren options to threaded implementation of runfcgi

Reported by: James Crasta <jcrasta@…> Owned by: adrian
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: UI/UX:

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)

fastcgi-threadpool-options.diff (1.4 KB) - added by James Crasta <jcrasta@…> 9 years ago.
Allow runfcgi to pass threadpool options to flup

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by James Crasta <jcrasta@…>

Allow runfcgi to pass threadpool options to flup

comment:1 Changed 9 years ago by jacob

Fixed in [4033]

comment:2 Changed 9 years ago by jacob

  • Resolution set to fixed
  • Status changed from new to closed

... actually marking as closed this time :)

Note: See TracTickets for help on using tickets.
Back to Top