aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_cache.h
diff options
context:
space:
mode:
authorDmitry Volyntsev <xeioex@nginx.com>2016-03-18 14:27:30 +0300
committerDmitry Volyntsev <xeioex@nginx.com>2016-03-18 14:27:30 +0300
commit861e75dc208d8568dca6025af54b5b24c17d873f (patch)
treec5f0956e254d18faca8a26293871e9ccc915354c /src/http/ngx_http_cache.h
parent348f705c000bdbfbee74d6f0111a03697f8ffa4f (diff)
downloadnginx-861e75dc208d8568dca6025af54b5b24c17d873f.tar.gz
nginx-861e75dc208d8568dca6025af54b5b24c17d873f.zip
Cache: report error if slab allocator fails during cache loading.
Diffstat (limited to 'src/http/ngx_http_cache.h')
-rw-r--r--src/http/ngx_http_cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_cache.h b/src/http/ngx_http_cache.h
index d36fa779c..e93278d47 100644
--- a/src/http/ngx_http_cache.h
+++ b/src/http/ngx_http_cache.h
@@ -153,6 +153,8 @@ struct ngx_http_file_cache_s {
time_t inactive;
+ time_t fail_time;
+
ngx_uint_t files;
ngx_uint_t loader_files;
ngx_msec_t last;