ソースを参照

历史数据判重-细节优化

apple 5 年 前
コミット
d3e907c452
1 ファイル変更1 行追加4 行削除
  1. 1 4
      udpfilterdup/src/main.go

+ 1 - 4
udpfilterdup/src/main.go

@@ -120,7 +120,7 @@ func mainT() {
 	mapinfo["gtid"] = sid
 	mapinfo["lteid"] = eid
 	mapinfo["stop"] = "true"
-	historyTask([]byte{}, mapinfo)
+	task([]byte{}, mapinfo)
 	time.Sleep(5 * time.Second)
 }
 func processUdpMsg(act byte, data []byte, ra *net.UDPAddr) {
@@ -379,9 +379,6 @@ func historyTask(data []byte, mapInfo map[string]interface{}) {
 	HM = NewHistorymap(gtid,lteid, minTime, maxTime)
 	fmt.Println("开始历史数据判重")
 
-	return
-
-
 	defer util.Catch()
 	//区间id
 	sess_history:= mgo.GetMgoConn()