diff options
Diffstat (limited to 'src/http/modules/ngx_http_static_handler.c')
-rw-r--r-- | src/http/modules/ngx_http_static_handler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_static_handler.c b/src/http/modules/ngx_http_static_handler.c index 42dd14a21..651f6d741 100644 --- a/src/http/modules/ngx_http_static_handler.c +++ b/src/http/modules/ngx_http_static_handler.c @@ -97,7 +97,7 @@ ngx_log_debug(r->connection->log, "cache get: %x" _ cache); if (cache && ((ngx_event_flags & NGX_HAVE_KQUEUE_EVENT) - || ccf->open_files->check_time >= ngx_time() - cache->updated)) + || ccf->open_files->update >= ngx_cached_time - cache->updated)) { cache->refs++; r->file.fd = cache->fd; |