Mercurial > hg > nginx
diff conf/uwsgi_params @ 4419:7084faa7a4b4
Limit req: number of cleanup calls reduced.
Doing a cleanup before every lookup seems to be too aggressive. It can lead to
premature removal of the nodes still usable, which increases the amount of work
under a mutex lock and therefore decreases performance.
In order to improve cleanup behavior, cleanup function call has been moved right
before the allocation of a new node.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Mon, 30 Jan 2012 10:01:39 +0000 |
parents | 352a7b025f2e |
children | 62869a9b2e7d |