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/core/ngx_file.h | |
parent | f9430de4851fda75f5ec9b668b6bec6c2b029865 (diff) | |
download | nginx-b072a6957c97ca7c33a64b1a34f7b66c6e209acf.tar.gz nginx-b072a6957c97ca7c33a64b1a34f7b66c6e209acf.zip |
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 'src/core/ngx_file.h')
-rw-r--r-- | src/core/ngx_file.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_file.h b/src/core/ngx_file.h index 4240dc074..5c4482193 100644 --- a/src/core/ngx_file.h +++ b/src/core/ngx_file.h @@ -42,7 +42,7 @@ struct ngx_file_s { #define NGX_MAX_PATH_LEVEL 3 -typedef time_t (*ngx_path_manager_pt) (void *data); +typedef ngx_msec_t (*ngx_path_manager_pt) (void *data); typedef ngx_msec_t (*ngx_path_purger_pt) (void *data); typedef void (*ngx_path_loader_pt) (void *data); |