diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2018-08-10 21:54:46 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2018-08-10 21:54:46 +0300 |
commit | d817ceae729914e7423c4c206165fc244513f021 (patch) | |
tree | 556b398cd41a7ad290cf92fac7ab7f1346159248 /src/stream/ngx_stream_core_module.c | |
parent | 7de808990b8e49e2e18c2a013e4cca82a092fdbc (diff) | |
download | nginx-d817ceae729914e7423c4c206165fc244513f021.tar.gz nginx-d817ceae729914e7423c4c206165fc244513f021.zip |
Upstream keepalive: keepalive_requests directive.
The directive configures maximum number of requests allowed on
a connection kept in the cache. Once a connection reaches the number
of requests configured, it is no longer saved to the cache.
The default is 100.
Much like keepalive_requests for client connections, this is mostly
a safeguard to make sure connections are closed periodically and the
memory allocated from the connection pool is freed.
Diffstat (limited to 'src/stream/ngx_stream_core_module.c')
0 files changed, 0 insertions, 0 deletions