maxiaoshan há 4 anos atrás
pai
commit
3788f01989
1 ficheiros alterados com 1 adições e 1 exclusões
  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
 }
 
 //高性能模式