From 70191da915f940a3954e8d9dd21f70125b2dfe43 Mon Sep 17 00:00:00 2001 From: chejinge Date: Wed, 10 Apr 2024 20:23:58 +0800 Subject: [PATCH] change deafult thread num --- conf/pika.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/pika.conf b/conf/pika.conf index 5bc750944..5cc6c575a 100644 --- a/conf/pika.conf +++ b/conf/pika.conf @@ -29,7 +29,7 @@ thread-pool-size : 12 # Size of the low level thread pool, The threads within this pool # are dedicated to handling slow user requests. -slow-cmd-thread-pool-size : 4 +slow-cmd-thread-pool-size : 1 # Slow cmd list e.g. hgetall, mset slow-cmd-list : @@ -363,7 +363,7 @@ max-bytes-for-level-multiplier : 10 slotmigrate : no # slotmigrate thread num -slotmigrate-thread-num : 8 +slotmigrate-thread-num : 1 # thread-migrate-keys-num 1/8 of the write_buffer_size_ thread-migrate-keys-num : 64