unlock incompletely loaded cache

This commit is contained in:
Igor Sysoev 2009-08-10 15:57:42 +00:00
parent 632a1922fa
commit 703aab0b72

View File

@ -1103,6 +1103,7 @@ ngx_http_file_cache_loader(void *data)
cache->files = 0;
if (ngx_walk_tree(&tree, &cache->path->name) == NGX_ABORT) {
cache->sh->loading = 0;
return;
}