mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
fix logged long locked cache entry name and add count
This commit is contained in:
parent
3afc10f507
commit
2f1a2f3d19
@ -817,8 +817,8 @@ ngx_http_file_cache_expire(ngx_http_file_cache_t *cache, ngx_uint_t forced)
|
||||
ngx_rbtree_delete(cache->rbtree, &fcn->node);
|
||||
|
||||
ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0,
|
||||
"ignore long locked inactive cache entry %*s",
|
||||
NGX_HTTP_CACHE_KEY_LEN, key);
|
||||
"ignore long locked inactive cache entry %*s, count:%d",
|
||||
2 * NGX_HTTP_CACHE_KEY_LEN, key, fcn->count);
|
||||
}
|
||||
|
||||
if (tries++ < 10) {
|
||||
|
Loading…
Reference in New Issue
Block a user