diff options
| author | Dmitry Volyntsev <xeioex@nginx.com> | 2016-10-05 14:22:30 +0300 |
|---|---|---|
| committer | Dmitry Volyntsev <xeioex@nginx.com> | 2016-10-05 14:22:30 +0300 |
| commit | b072a6957c97ca7c33a64b1a34f7b66c6e209acf (patch) | |
| tree | 686dcaa509f136cc405e2741ced292059f0a0b44 /src/http/ngx_http_cache.h | |
| parent | f9430de4851fda75f5ec9b668b6bec6c2b029865 (diff) | |
| download | nginx-b072a6957c97ca7c33a64b1a34f7b66c6e209acf.tar.gz nginx-b072a6957c97ca7c33a64b1a34f7b66c6e209acf.tar.bz2 | |
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).
Diffstat (limited to '')
| -rw-r--r-- | src/http/ngx_http_cache.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/http/ngx_http_cache.h b/src/http/ngx_http_cache.h index 4aa947fbe..9c9ff6f65 100644 --- a/src/http/ngx_http_cache.h +++ b/src/http/ngx_http_cache.h @@ -166,6 +166,10 @@ struct ngx_http_file_cache_s { ngx_msec_t loader_sleep; ngx_msec_t loader_threshold; + ngx_uint_t manager_files; + ngx_msec_t manager_sleep; + ngx_msec_t manager_threshold; + ngx_shm_zone_t *shm_zone; }; |
