maxiaoshan 4 жил өмнө
parent
commit
3788f01989

+ 1 - 1
src/spider/handler.go

@@ -49,6 +49,7 @@ func InitSpider() {
 		LoopListPath.Store(k, v)
 		LoopListPath.Store(k, v)
 		k++
 		k++
 	}
 	}
+	InitCount = k
 	if util.Config.Working == 0 {
 	if util.Config.Working == 0 {
 		NoQueueScript() //高性能模式
 		NoQueueScript() //高性能模式
 	} else {
 	} else {
@@ -59,7 +60,6 @@ func InitSpider() {
 			go QueueUpScriptDetail() //节能模式三级页
 			go QueueUpScriptDetail() //节能模式三级页
 		}
 		}
 	}
 	}
-	InitCount = k
 }
 }
 
 
 //高性能模式
 //高性能模式