summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhwware <wen.hui.ware@gmail.com>2020-05-06 01:07:17 -0400
committerhwware <wen.hui.ware@gmail.com>2020-05-06 01:07:17 -0400
commit9cfb1c88d65c4358e9b0cf84e255d24f11cc6cf7 (patch)
treefe1584c5414b9c62a6d7ac28f98e38bb1a75ed12
parent54cb8214d9bca268458752b3be92f038d4f52445 (diff)
downloadredis-9cfb1c88d65c4358e9b0cf84e255d24f11cc6cf7.tar.gz
add jemalloc-bg-thread config in redis conf
-rw-r--r--redis.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/redis.conf b/redis.conf
index 8841117fc..a469d8b61 100644
--- a/redis.conf
+++ b/redis.conf
@@ -1781,6 +1781,9 @@ rdb-save-incremental-fsync yes
# the main dictionary scan
# active-defrag-max-scan-fields 1000
+# Jemalloc background thread for purging will be enabled by default
+jemalloc-bg-thread yes
+
# It is possible to pin different threads and processes of Redis to specific
# CPUs in your system, in order to maximize the performances of the server.
# This is useful both in order to pin different Redis threads in different