Mercurial > hg > nginx
comparison src/http/ngx_http_file_cache.c @ 3020:364ea8f54a2f
unlock incompletely loaded cache
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 10 Aug 2009 15:57:42 +0000 |
parents | 8fc7b94f647b |
children | 8101d9101ed8 |
comparison
equal
deleted
inserted
replaced
3019:56d1e38a0dda | 3020:364ea8f54a2f |
---|---|
1101 | 1101 |
1102 cache->last = ngx_current_msec; | 1102 cache->last = ngx_current_msec; |
1103 cache->files = 0; | 1103 cache->files = 0; |
1104 | 1104 |
1105 if (ngx_walk_tree(&tree, &cache->path->name) == NGX_ABORT) { | 1105 if (ngx_walk_tree(&tree, &cache->path->name) == NGX_ABORT) { |
1106 cache->sh->loading = 0; | |
1106 return; | 1107 return; |
1107 } | 1108 } |
1108 | 1109 |
1109 cache->sh->cold = 0; | 1110 cache->sh->cold = 0; |
1110 cache->sh->loading = 0; | 1111 cache->sh->loading = 0; |