maxiaoshan 4 yıl önce
ebeveyn
işleme
45ac734b93
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  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()