diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-12-21 19:19:48 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-12-21 19:19:48 +0300 |
commit | 9b9616e5acab9d2b3a4a8ec04fa57e8d1f9d63b3 (patch) | |
tree | 2bf639f354152216b4d813f85066b5c42e2145d6 /src/core/ngx_open_file_cache.c | |
parent | f2d60afc7c6849a99052cc0af9362071ca6b5335 (diff) |
open_file_cache_retest > open_file_cache_valid
Diffstat (limited to 'src/core/ngx_open_file_cache.c')
-rw-r--r-- | src/core/ngx_open_file_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_open_file_cache.c b/src/core/ngx_open_file_cache.c index 36e297ec7..a05bbcf27 100644 --- a/src/core/ngx_open_file_cache.c +++ b/src/core/ngx_open_file_cache.c @@ -189,7 +189,7 @@ ngx_open_cached_file(ngx_open_file_cache_t *cache, ngx_str_t *name, ngx_queue_remove(&file->queue); - if (file->event || now - file->created < of->retest) { + if (file->event || now - file->created < of->valid) { if (file->err == 0) { of->fd = file->fd; of->uniq = file->uniq; |