diff options
author | Valentin Bartenev <vbart@nginx.com> | 2020-12-14 17:15:49 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2020-12-14 17:15:49 +0300 |
commit | 8d65a3303bde4fa2725310cd38af311e503e75ae (patch) | |
tree | 850bc98673a37ed802fd18488eceeca6fb85e83b /test/test_tls.py | |
parent | 1e9def50c8ecc9f9331908b5fd46b218019a0fb0 (diff) | |
download | unit-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_tls.py')
0 files changed, 0 insertions, 0 deletions