removed debug msg
parent
0f6256d831
commit
e34643a451
|
@ -18,8 +18,6 @@ var PlayersCollection *mongo.Collection
|
||||||
func getConnectionURI() string {
|
func getConnectionURI() string {
|
||||||
cfg := serverconfig.Cfg.MongoDB
|
cfg := serverconfig.Cfg.MongoDB
|
||||||
|
|
||||||
logger.Mongo.Println("mongo cfg", cfg.Username)
|
|
||||||
|
|
||||||
return "mongodb://" + cfg.Username + ":" + cfg.Password + "@" + cfg.Hostname + ":" + cfg.Port + "/?maxPoolSize=20&w=majority&authSource=" + cfg.Database
|
return "mongodb://" + cfg.Username + ":" + cfg.Password + "@" + cfg.Hostname + ":" + cfg.Port + "/?maxPoolSize=20&w=majority&authSource=" + cfg.Database
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue