mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-08 21:47:17 +08:00
perf: add concurrency and pipeline mode for redis cache
Signed-off-by: rfyiamcool <rfyiamcool@163.com>
This commit is contained in:
parent
b9c18a601e
commit
cbcc0820c6
@ -78,10 +78,11 @@ type configStruct struct {
|
|||||||
} `yaml:"mongo"`
|
} `yaml:"mongo"`
|
||||||
|
|
||||||
Redis struct {
|
Redis struct {
|
||||||
ClusterMode bool `yaml:"clusterMode"`
|
ClusterMode bool `yaml:"clusterMode"`
|
||||||
Address []string `yaml:"address"`
|
Address []string `yaml:"address"`
|
||||||
Username string `yaml:"username"`
|
Username string `yaml:"username"`
|
||||||
Password string `yaml:"password"`
|
Password string `yaml:"password"`
|
||||||
|
EnablePipeline bool `yaml:"enablePipeline"`
|
||||||
} `yaml:"redis"`
|
} `yaml:"redis"`
|
||||||
|
|
||||||
Kafka struct {
|
Kafka struct {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user