Mercurial > hg > nginx
diff src/http/ngx_http_cache.h @ 6063:d698c300b9ff
Cache: added support for reading of the header in thread pools.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Wed, 01 Apr 2015 03:49:17 +0300 |
parents | 99639bfdfa2a |
children | 043914d19be8 |
line wrap: on
line diff
--- a/src/http/ngx_http_cache.h +++ b/src/http/ngx_http_cache.h @@ -91,6 +91,10 @@ struct ngx_http_cache_s { ngx_http_file_cache_t *file_cache; ngx_http_file_cache_node_t *node; +#if (NGX_THREADS) + ngx_thread_task_t *thread_task; +#endif + ngx_msec_t lock_timeout; ngx_msec_t lock_age; ngx_msec_t lock_time;