mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-26 03:26:57 +08:00
replace mongo driver
This commit is contained in:
parent
7cf712daff
commit
996570cc57
@ -65,7 +65,7 @@ func init() {
|
|||||||
Password: config.Config.Mongo.DBPassword,
|
Password: config.Config.Mongo.DBPassword,
|
||||||
PoolLimit: config.Config.Mongo.DBMaxPoolSize,
|
PoolLimit: config.Config.Mongo.DBMaxPoolSize,
|
||||||
}
|
}
|
||||||
mgoSession, err = mgo.DialWithInfo(mgoDailInfo)
|
mgoSession, err := mgo.DialWithInfo(mgoDailInfo)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user