Mercurial > hg > nginx
comparison src/http/ngx_http_file_cache.c @ 5341:654c1631dc86
Cache: lock timeouts are now logged at info level.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 23 Aug 2013 22:18:54 +0400 |
parents | 314c3d7cc3a5 |
children | 2fda9065d0f4 |
comparison
equal
deleted
inserted
replaced
5340:13a5f4765887 | 5341:654c1631dc86 |
---|---|
443 c->wait_time, ngx_current_msec); | 443 c->wait_time, ngx_current_msec); |
444 | 444 |
445 timer = c->wait_time - ngx_current_msec; | 445 timer = c->wait_time - ngx_current_msec; |
446 | 446 |
447 if ((ngx_msec_int_t) timer <= 0) { | 447 if ((ngx_msec_int_t) timer <= 0) { |
448 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, ev->log, 0, | 448 ngx_log_error(NGX_LOG_INFO, ev->log, 0, "cache lock timeout"); |
449 "http file cache lock timeout"); | |
450 c->lock = 0; | 449 c->lock = 0; |
451 goto wakeup; | 450 goto wakeup; |
452 } | 451 } |
453 | 452 |
454 cache = c->file_cache; | 453 cache = c->file_cache; |