Klaus Demo nginx / d2d8b82
Cache: lock timeouts are now logged at info level. Maxim Dounin 6 years ago
1 changed file(s) with 1 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
444444 timer = c->wait_time - ngx_current_msec;
445445
446446 if ((ngx_msec_int_t) timer <= 0) {
447 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, ev->log, 0,
448 "http file cache lock timeout");
447 ngx_log_error(NGX_LOG_INFO, ev->log, 0, "cache lock timeout");
449448 c->lock = 0;
450449 goto wakeup;
451450 }