diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-12-22 13:19:39 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-12-22 13:19:39 +0000 |
commit | f3b0e490693f470913db7ba962a536e275c37147 (patch) | |
tree | fff8cb622b1d9f95ca6f704f3d83aec8330799e2 /src/core/ngx_open_file_cache.h | |
parent | 5e593aa34ed51cb68670eca25506294165168b93 (diff) | |
download | nginx-f3b0e490693f470913db7ba962a536e275c37147.tar.gz nginx-f3b0e490693f470913db7ba962a536e275c37147.zip |
open_file_cache_min_uses
Diffstat (limited to 'src/core/ngx_open_file_cache.h')
-rw-r--r-- | src/core/ngx_open_file_cache.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/ngx_open_file_cache.h b/src/core/ngx_open_file_cache.h index 6865f684b..8ef4aeac8 100644 --- a/src/core/ngx_open_file_cache.h +++ b/src/core/ngx_open_file_cache.h @@ -21,6 +21,8 @@ typedef struct { time_t valid; + ngx_uint_t min_uses; + unsigned test_dir:1; unsigned errors:1; unsigned events:1; @@ -48,6 +50,8 @@ struct ngx_cached_open_file_s { off_t size; ngx_err_t err; + uint32_t uses; + unsigned count:24; unsigned close:1; @@ -74,6 +78,7 @@ typedef struct { typedef struct { ngx_open_file_cache_t *cache; ngx_cached_open_file_t *file; + ngx_uint_t min_uses; ngx_log_t *log; } ngx_open_file_cache_cleanup_t; |