From cbcc0820c68700f0f74918037170dda4fdc76ec6 Mon Sep 17 00:00:00 2001 From: rfyiamcool Date: Sat, 4 Nov 2023 22:52:30 +0800 Subject: [PATCH] perf: add concurrency and pipeline mode for redis cache Signed-off-by: rfyiamcool --- pkg/common/config/config.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkg/common/config/config.go b/pkg/common/config/config.go index 95f4a864e..82df801e1 100644 --- a/pkg/common/config/config.go +++ b/pkg/common/config/config.go @@ -78,10 +78,11 @@ type configStruct struct { } `yaml:"mongo"` Redis struct { - ClusterMode bool `yaml:"clusterMode"` - Address []string `yaml:"address"` - Username string `yaml:"username"` - Password string `yaml:"password"` + ClusterMode bool `yaml:"clusterMode"` + Address []string `yaml:"address"` + Username string `yaml:"username"` + Password string `yaml:"password"` + EnablePipeline bool `yaml:"enablePipeline"` } `yaml:"redis"` Kafka struct {