Set wsgi.run_once to False #96

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

snaury commented Feb 27, 2014

WSGI applications may run slowly without this, as using
wsgi.run_once usually disables caching and is meant for
CGI servers.

Set wsgi.run_once to False
WSGI applications may run slowly without this, as using
wsgi.run_once usually disables caching and is meant for
CGI servers.
Contributor

tinco commented Feb 27, 2014

Hi snaury, this looks good to go, could you sign this:

http://www.phusion.nl/forms/contributor_agreement

Then I can merge the request :)

snaury commented Feb 27, 2014

@d-snp I'm sorry, but I don't want to sign CLA for the sake of such a trivial and obvious fix. :-/ If it's a problem you can consider this just a bug report and make the change under your own name.

Contributor

tinco commented Feb 27, 2014

Hi, sorry about that I totally understand. It's just policy that I ask it of you. Thanks a lot for reporting the issue, it'll be fixed and released in the next version of Passenger.

tinco added a commit that referenced this pull request Feb 27, 2014

set run_once to False in the wsgi loader
As suggested by @snaury in #96. This should improve wsgi app performance as this setting is used to indicate to wsgi apps to skip caching.

@tinco tinco closed this Feb 27, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment