|
@@ -65,7 +65,7 @@ func init() {
|
|
MongodbAddr: mconf["addr"].(string),
|
|
MongodbAddr: mconf["addr"].(string),
|
|
Size: util.IntAllDef(mconf["pool"], 5),
|
|
Size: util.IntAllDef(mconf["pool"], 5),
|
|
DbName: mconf["db"].(string),
|
|
DbName: mconf["db"].(string),
|
|
- //ReplSet: "bidding",
|
|
|
|
|
|
+ ReplSet: "bidding",
|
|
}
|
|
}
|
|
mgo.InitPool()
|
|
mgo.InitPool()
|
|
|
|
|