From 2df8b1d6ee4a887245ae3a69f27ba27fcbd2027f Mon Sep 17 00:00:00 2001 From: MrPresent-Han Date: Wed, 27 Sep 2023 17:34:55 +0800 Subject: [PATCH] refine the default values for segcore threadpool size /kind improvement Signed-off-by: MrPresent-Han --- pkg/util/paramtable/component_param.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/util/paramtable/component_param.go b/pkg/util/paramtable/component_param.go index a9541b6ea8e8b..004872faadbe2 100644 --- a/pkg/util/paramtable/component_param.go +++ b/pkg/util/paramtable/component_param.go @@ -33,9 +33,9 @@ const ( DefaultIndexSliceSize = 16 DefaultGracefulTime = 5000 // ms DefaultGracefulStopTimeout = 1800 // s - DefaultHighPriorityThreadCoreCoefficient = 100 - DefaultMiddlePriorityThreadCoreCoefficient = 50 - DefaultLowPriorityThreadCoreCoefficient = 10 + DefaultHighPriorityThreadCoreCoefficient = 10 + DefaultMiddlePriorityThreadCoreCoefficient = 5 + DefaultLowPriorityThreadCoreCoefficient = 1 DefaultSessionTTL = 60 // s DefaultSessionRetryTimes = 30