Mercurial > hg > nginx-quic
comparison src/http/ngx_http_cache.h @ 6727:ca709bca4b77
Cache: cache manager limits.
The new parameters "manager_files", "manager_sleep"
and "manager_threshold" were added to proxy_cache_path
and friends.
Note that ngx_path_manager_pt was changed to return ngx_msec_t
instead of time_t (API change).
author | Dmitry Volyntsev <xeioex@nginx.com> |
---|---|
date | Wed, 05 Oct 2016 14:22:30 +0300 |
parents | e08e741f74cd |
children | adc2414856b1 |
comparison
equal
deleted
inserted
replaced
6726:631753428ecb | 6727:ca709bca4b77 |
---|---|
164 ngx_uint_t loader_files; | 164 ngx_uint_t loader_files; |
165 ngx_msec_t last; | 165 ngx_msec_t last; |
166 ngx_msec_t loader_sleep; | 166 ngx_msec_t loader_sleep; |
167 ngx_msec_t loader_threshold; | 167 ngx_msec_t loader_threshold; |
168 | 168 |
169 ngx_uint_t manager_files; | |
170 ngx_msec_t manager_sleep; | |
171 ngx_msec_t manager_threshold; | |
172 | |
169 ngx_shm_zone_t *shm_zone; | 173 ngx_shm_zone_t *shm_zone; |
170 }; | 174 }; |
171 | 175 |
172 | 176 |
173 ngx_int_t ngx_http_file_cache_new(ngx_http_request_t *r); | 177 ngx_int_t ngx_http_file_cache_new(ngx_http_request_t *r); |