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/http/modules/ngx_http_index_module.c | |
| parent | 5e593aa34ed51cb68670eca25506294165168b93 (diff) | |
| download | nginx-f3b0e490693f470913db7ba962a536e275c37147.tar.gz nginx-f3b0e490693f470913db7ba962a536e275c37147.tar.bz2 | |
open_file_cache_min_uses
Diffstat (limited to 'src/http/modules/ngx_http_index_module.c')
| -rw-r--r-- | src/http/modules/ngx_http_index_module.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_index_module.c b/src/http/modules/ngx_http_index_module.c index a82b31850..c9622835d 100644 --- a/src/http/modules/ngx_http_index_module.c +++ b/src/http/modules/ngx_http_index_module.c @@ -210,6 +210,7 @@ ngx_http_index_handler(ngx_http_request_t *r) of.test_dir = 0; of.valid = clcf->open_file_cache_valid; + of.min_uses = clcf->open_file_cache_min_uses; of.errors = clcf->open_file_cache_errors; of.events = clcf->open_file_cache_events; @@ -293,6 +294,7 @@ ngx_http_index_test_dir(ngx_http_request_t *r, ngx_http_core_loc_conf_t *clcf, of.test_dir = 1; of.valid = clcf->open_file_cache_valid; + of.min_uses = 0; of.errors = clcf->open_file_cache_errors; if (ngx_open_cached_file(clcf->open_file_cache, &dir, &of, r->pool) |
