Mercurial > hg > nginx
comparison src/http/ngx_http_file_cache.c @ 4387:e8181eeddaf8
Fixed build without debug.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 26 Dec 2011 11:33:11 +0000 |
parents | 70ba81827472 |
children | d620f497c50f |
comparison
equal
deleted
inserted
replaced
4386:92deb73393f7 | 4387:e8181eeddaf8 |
---|---|
393 c->updating = 1; | 393 c->updating = 1; |
394 } | 394 } |
395 | 395 |
396 ngx_shmtx_unlock(&cache->shpool->mutex); | 396 ngx_shmtx_unlock(&cache->shpool->mutex); |
397 | 397 |
398 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, | 398 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, |
399 "http file cache lock u:%d wt:%M", | 399 "http file cache lock u:%d wt:%M", |
400 c->updating, c->wait_time); | 400 c->updating, c->wait_time); |
401 | 401 |
402 if (c->updating) { | 402 if (c->updating) { |
403 return NGX_DECLINED; | 403 return NGX_DECLINED; |
435 ngx_http_file_cache_t *cache; | 435 ngx_http_file_cache_t *cache; |
436 | 436 |
437 r = ev->data; | 437 r = ev->data; |
438 c = r->cache; | 438 c = r->cache; |
439 | 439 |
440 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, ev->log, 0, | 440 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, ev->log, 0, |
441 "http file cache wait handler wt:%M cur:%M", | 441 "http file cache wait handler wt:%M cur:%M", |
442 c->wait_time, ngx_current_msec); | 442 c->wait_time, ngx_current_msec); |
443 | 443 |
444 timer = c->wait_time - ngx_current_msec; | 444 timer = c->wait_time - ngx_current_msec; |
445 | 445 |