by Robin at 20240317

This commit is contained in:
Leufolium 2024-03-17 01:16:06 +08:00
parent 4f609481cc
commit 652b12c237
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ import (
func NewMongoClient() (*qmgo.Client, error) { func NewMongoClient() (*qmgo.Client, error) {
clientCfg := &qmgo.Config{ clientCfg := &qmgo.Config{
Uri: "mongodb://root:Wishpal2024@dds-bp1628b447c242e41.mongodb.rds.aliyuncs.com:3717,dds-bp1628b447c242e42.mongodb.rds.aliyuncs.com:3717/admin?replicaSet=mgset-74245203", Uri: "mongodb://root:Wishpal2024@dds-bp1a72ede37c55d4242490.mongodb.rds.aliyuncs.com:3717/admin",
ConnectTimeoutMS: goproto.Int64(30000), ConnectTimeoutMS: goproto.Int64(30000),
MaxPoolSize: goproto.Uint64(16), MaxPoolSize: goproto.Uint64(16),
MinPoolSize: goproto.Uint64(0), MinPoolSize: goproto.Uint64(0),