diff options
| author | Roman Arutyunyan <arut@nginx.com> | 2014-11-18 20:41:12 +0300 |
|---|---|---|
| committer | Roman Arutyunyan <arut@nginx.com> | 2014-11-18 20:41:12 +0300 |
| commit | 2628cc11d44c373e64ac0bc3a4b0e5eac69f371d (patch) | |
| tree | 8d2d440e06d5c29924b4bd030dcf2624a4b7f0e3 /src/http/ngx_http_upstream.h | |
| parent | 20d41493d428f123cc867590d693ef7e14a4ea11 (diff) | |
| download | nginx-2628cc11d44c373e64ac0bc3a4b0e5eac69f371d.tar.gz nginx-2628cc11d44c373e64ac0bc3a4b0e5eac69f371d.tar.bz2 | |
Cache: proxy_cache_lock_age and friends.
Once this age is reached, the cache lock is discarded and another
request can acquire the lock. Requests which failed to acquire
the lock are not allowed to cache the response.
Diffstat (limited to '')
| -rw-r--r-- | src/http/ngx_http_upstream.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_upstream.h b/src/http/ngx_http_upstream.h index 0032c2c22..d04b66906 100644 --- a/src/http/ngx_http_upstream.h +++ b/src/http/ngx_http_upstream.h @@ -183,6 +183,7 @@ typedef struct { ngx_flag_t cache_lock; ngx_msec_t cache_lock_timeout; + ngx_msec_t cache_lock_age; ngx_flag_t cache_revalidate; |
