maxiaoshan 4 年 前
コミット
3788f01989
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/spider/handler.go

+ 1 - 1
src/spider/handler.go

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