Mercurial > hg > nginx-quic
comparison src/http/ngx_http_file_cache.c @ 2604:2a35ed59827d
fix logged long locked cache entry name and add count
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 26 Mar 2009 09:50:04 +0000 |
parents | f9bd7999eb08 |
children | fd387fbb28c6 |
comparison
equal
deleted
inserted
replaced
2603:f9bd7999eb08 | 2604:2a35ed59827d |
---|---|
815 ngx_queue_remove(q); | 815 ngx_queue_remove(q); |
816 | 816 |
817 ngx_rbtree_delete(cache->rbtree, &fcn->node); | 817 ngx_rbtree_delete(cache->rbtree, &fcn->node); |
818 | 818 |
819 ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0, | 819 ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0, |
820 "ignore long locked inactive cache entry %*s", | 820 "ignore long locked inactive cache entry %*s, count:%d", |
821 NGX_HTTP_CACHE_KEY_LEN, key); | 821 2 * NGX_HTTP_CACHE_KEY_LEN, key, fcn->count); |
822 } | 822 } |
823 | 823 |
824 if (tries++ < 10) { | 824 if (tries++ < 10) { |
825 continue; | 825 continue; |
826 } | 826 } |