mirror of
https://github.com/nginx/nginx.git
synced 2026-06-26 20:01:45 +00:00
fix logged long locked cache entry name and add count
This commit is contained in:
parent
3afc10f507
commit
2f1a2f3d19
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue