mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-03 18:52:15 +08:00
replace mongo driver
This commit is contained in:
parent
500de1fd73
commit
520586a4b7
@ -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