summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_file_cache.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-06-06 17:48:54 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-06-06 17:48:54 +0000
commitfa524e9063212bf021aa557a0e42b2b0c06f3982 (patch)
treeca1e06a82e3e3deb3e4f73cc19275b9dde3b81e5 /src/http/ngx_http_file_cache.c
parentae7e8886f67a22bc85e7ff7e2b07ec55f77a4a2e (diff)
downloadnginx-fa524e9063212bf021aa557a0e42b2b0c06f3982.tar.gz
nginx-fa524e9063212bf021aa557a0e42b2b0c06f3982.tar.bz2
delete useless r->cache->uses
Diffstat (limited to 'src/http/ngx_http_file_cache.c')
-rw-r--r--src/http/ngx_http_file_cache.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c
index 0893c15d0..8c944aed3 100644
--- a/src/http/ngx_http_file_cache.c
+++ b/src/http/ngx_http_file_cache.c
@@ -172,9 +172,8 @@ ngx_http_file_cache_open(ngx_http_request_t *r)
rc = ngx_http_file_cache_exists(cache, c);
- ngx_log_debug3(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
- "http file cache exists: %i u:%ui e:%d",
- rc, c->uses, c->exists);
+ ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
+ "http file cache exists: %i e:%d", rc, c->exists);
if (rc == NGX_ERROR) {
return rc;
@@ -332,8 +331,6 @@ ngx_http_file_cache_open(ngx_http_request_t *r)
if (c->valid_sec < now) {
- c->uses = c->min_uses;
-
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
"http file cache expired: %T %T", c->valid_sec, now);
@@ -440,7 +437,6 @@ done:
ngx_queue_insert_head(&cache->sh->queue, &fcn->queue);
c->uniq = fcn->uniq;
- c->uses = fcn->uses;
c->error = fcn->error;
c->node = fcn;