From d46879dca935fe1d8196225191525762bc84b004 Mon Sep 17 00:00:00 2001 From: Roberto De Ioris Date: Wed, 12 Feb 2014 06:33:47 +0100 Subject: [PATCH] fixed #528 --- core/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/cache.c b/core/cache.c index c91b831d..f8ed0036 100644 --- a/core/cache.c +++ b/core/cache.c @@ -361,7 +361,7 @@ void uwsgi_cache_init(struct uwsgi_cache *uc) { uc->name, (unsigned long long) uc->filesize / (1024 * 1024), (unsigned long long) sizeof(struct uwsgi_cache_item)+uc->keysize, - (unsigned long long) ((sizeof(struct uwsgi_cache_item)+uc->keysize) * uc->max_items), (unsigned long long) (uc->blocksize * uc->max_items), + (unsigned long long) ((sizeof(struct uwsgi_cache_item)+uc->keysize) * uc->max_items), (unsigned long long) (uc->blocksize * uc->blocks), (unsigned long long) uc->blocks_bitmap_size); uwsgi_cache_setup_nodes(uc);