From cce533c2463832ab3ebf352678b46768ce6e69ef Mon Sep 17 00:00:00 2001 From: "zhenshan.cao" Date: Mon, 23 May 2022 17:44:25 +0800 Subject: [PATCH] Fix unitest fail, change default index slice to 16 (#17162) Signed-off-by: zhenshan.cao --- internal/util/paramtable/component_param.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/util/paramtable/component_param.go b/internal/util/paramtable/component_param.go index 21cfd211fa..e3cbb7e349 100644 --- a/internal/util/paramtable/component_param.go +++ b/internal/util/paramtable/component_param.go @@ -31,7 +31,7 @@ const ( DefaultRetentionDuration = 3600 * 24 * 5 // DefaultIndexSliceSize defines the default slice size of index file when serializing. - DefaultIndexSliceSize = 4 + DefaultIndexSliceSize = 16 ) // ComponentParam is used to quickly and easily access all components' configurations.