diff options
author | antirez <antirez@gmail.com> | 2015-09-23 16:46:36 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2015-10-01 13:02:25 +0200 |
commit | 9253d8507320dd1d7665a55e11e2cba3ae91c78d (patch) | |
tree | 305ccd34924ae2860cd5aec9788c3007621661fa /src/bio.c | |
parent | 4d50d691e3fa80c9b9aef5aa0498a0a92654b324 (diff) | |
download | redis-9253d8507320dd1d7665a55e11e2cba3ae91c78d.tar.gz |
Threaded lazyfree WIP #1.
Diffstat (limited to 'src/bio.c')
-rw-r--r-- | src/bio.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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()."); } |