Permalink
Browse files

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.
  • Loading branch information...
1 parent bf714e1 commit f95f48d6e8d46bdf1ca0935000f2bf17cecafc48 @tinco tinco committed Feb 27, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 helper-scripts/wsgi-loader.py
@@ -191,7 +191,7 @@ def process_request(self, env, input_stream, output_stream):
env['wsgi.version'] = (1, 0)
env['wsgi.multithread'] = False
env['wsgi.multiprocess'] = True
- env['wsgi.run_once'] = True
+ env['wsgi.run_once'] = False
if env.get('HTTPS','off') in ('on', '1', 'true', 'yes'):
env['wsgi.url_scheme'] = 'https'
else:

0 comments on commit f95f48d

Please sign in to comment.