summaryrefslogtreecommitdiffhomepage
path: root/test/test_respawn.py
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2020-12-14 17:15:49 +0300
committerValentin Bartenev <vbart@nginx.com>2020-12-14 17:15:49 +0300
commit8d65a3303bde4fa2725310cd38af311e503e75ae (patch)
tree850bc98673a37ed802fd18488eceeca6fb85e83b /test/test_respawn.py
parent1e9def50c8ecc9f9331908b5fd46b218019a0fb0 (diff)
downloadunit-8d65a3303bde4fa2725310cd38af311e503e75ae.tar.gz
unit-8d65a3303bde4fa2725310cd38af311e503e75ae.tar.bz2
Python: WSGI environment copying moved out of request processing.
The WSGI environment dictionary contains a number of static items, that are pre-initialized on application start. Then it's copied for each request to be filled with request-related data. Now this dictionary copy operation will be done between processing of requests, which should save some CPU cycles during request processing and thus reduce response latency for non-peak load periods.
Diffstat (limited to 'test/test_respawn.py')
0 files changed, 0 insertions, 0 deletions