From 505e8509b7f8cf7ffcbc2ce5341e7089ad16ed81 Mon Sep 17 00:00:00 2001 From: MrPresent-Han <116052805+MrPresent-Han@users.noreply.github.com> Date: Wed, 27 Sep 2023 20:43:28 +0800 Subject: [PATCH] refine the default values for segcore threadpool size (#27406) /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