Mercurial > hg > nginx-quic
diff src/http/ngx_http_file_cache.c @ 6906:1aeaae6e9446
Upstream: proxy_cache_background_update and friends.
The directives enable cache updates in subrequests.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Fri, 10 Feb 2017 15:13:41 +0300 |
parents | 9a9e13686869 |
children | 99934aade555 |
line wrap: on
line diff
--- a/src/http/ngx_http_file_cache.c +++ b/src/http/ngx_http_file_cache.c @@ -1688,7 +1688,7 @@ ngx_http_file_cache_cleanup(void *data) ngx_log_debug0(NGX_LOG_DEBUG_HTTP, c->file.log, 0, "http file cache cleanup"); - if (c->updating) { + if (c->updating && !c->background) { ngx_log_error(NGX_LOG_ALERT, c->file.log, 0, "stalled cache updating, error:%ui", c->error); }