mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
Cache: lock timeouts are now logged at info level.
This commit is contained in:
parent
73ec75a974
commit
d2d8b82b87
@ -445,8 +445,7 @@ ngx_http_file_cache_lock_wait_handler(ngx_event_t *ev)
|
|||||||
timer = c->wait_time - ngx_current_msec;
|
timer = c->wait_time - ngx_current_msec;
|
||||||
|
|
||||||
if ((ngx_msec_int_t) timer <= 0) {
|
if ((ngx_msec_int_t) timer <= 0) {
|
||||||
ngx_log_debug0(NGX_LOG_DEBUG_HTTP, ev->log, 0,
|
ngx_log_error(NGX_LOG_INFO, ev->log, 0, "cache lock timeout");
|
||||||
"http file cache lock timeout");
|
|
||||||
c->lock = 0;
|
c->lock = 0;
|
||||||
goto wakeup;
|
goto wakeup;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user