From 9253d8507320dd1d7665a55e11e2cba3ae91c78d Mon Sep 17 00:00:00 2001 From: antirez Date: Wed, 23 Sep 2015 16:46:36 +0200 Subject: Threaded lazyfree WIP #1. --- src/bio.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/bio.c') diff --git a/src/bio.c b/src/bio.c index 135b8f3b6..d0f74a296 100644 --- a/src/bio.c +++ b/src/bio.c @@ -185,6 +185,8 @@ void *bioProcessBackgroundJobs(void *arg) { close((long)job->arg1); } else if (type == BIO_AOF_FSYNC) { aof_fsync((long)job->arg1); + } else if (type == BIO_LAZY_FREE) { + decrRefCount((robj*)job->arg1); } else { serverPanic("Wrong job type in bioProcessBackgroundJobs()."); } -- cgit v1.2.1