maxiaoshan il y a 4 ans
Parent
commit
45ac734b93
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      udpcreateindex/src/main.go

+ 1 - 0
udpcreateindex/src/main.go

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