Kaynağa Gözat

暂时去除buyer索引任务

maxiaoshan 4 yıl önce
ebeveyn
işleme
5ec9cc6f1e
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 1 1
      udpcreateindex/src/main.go
  2. 1 1
      udpcreateindex/src/task.go

+ 1 - 1
udpcreateindex/src/main.go

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

+ 1 - 1
udpcreateindex/src/task.go

@@ -16,7 +16,7 @@ func task_index() {
 	//c.AddFunc("0 22 14 * * *", func() { task_qyxyindex() })
 
 	c.AddFunc("0 0 0 * * ?", func() { task_winneres() }) //每天凌晨执行一次winner生索引
-	c.AddFunc("0 0 1 * * ?", func() { task_buyeres() })  //每天1点执行一次buyer生索引
+	//c.AddFunc("0 0 1 * * ?", func() { task_buyeres() })  //每天1点执行一次buyer生索引
 	c.Start()
 }
 func task_winneres() {