上传默认redis连接数

This commit is contained in:
liwei1dao 2023-09-13 18:17:10 +08:00
parent e1997a8742
commit db6d0f061f

View File

@ -103,8 +103,8 @@ func newOptionsByOption(opts ...Option) Options {
Redis_Single_DB: 1,
Redis_Cluster_Addr: []string{"127.0.0.1:6379"},
Redis_Cluster_Password: "",
PoolSize: 64,
MinConns: 32,
PoolSize: 128,
MinConns: 64,
TimeOut: time.Second * 3,
}
for _, o := range opts {