Cache: lock timeouts are now logged at info level.

This commit is contained in:
Maxim Dounin 2013-08-23 22:18:54 +04:00
parent 73ec75a974
commit d2d8b82b87

View File

@ -445,8 +445,7 @@ ngx_http_file_cache_lock_wait_handler(ngx_event_t *ev)
timer = c->wait_time - ngx_current_msec;
if ((ngx_msec_int_t) timer <= 0) {
ngx_log_debug0(NGX_LOG_DEBUG_HTTP, ev->log, 0,
"http file cache lock timeout");
ngx_log_error(NGX_LOG_INFO, ev->log, 0, "cache lock timeout");
c->lock = 0;
goto wakeup;
}