From e071184d53e7b1bc0d67d91e92c2bc503d462b20 Mon Sep 17 00:00:00 2001 From: Unbit Date: Mon, 13 Oct 2014 12:55:26 +0200 Subject: [PATCH] ignore lazy caches from the sweeper --- core/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/cache.c b/core/cache.c index 6345fc99..a3df2cfa 100644 --- a/core/cache.c +++ b/core/cache.c @@ -1084,7 +1084,7 @@ static uint64_t cache_sweeper_free_items(struct uwsgi_cache *uc) { uint64_t i; uint64_t freed_items = 0; - if (uc->no_expire || uc->purge_lru) + if (uc->no_expire || uc->purge_lru || uc->lazy_expire) return 0; uwsgi_rlock(uc->lock);