Sfoglia il codice sorgente

新增三级页下载线程数配置

maxiaoshan 4 anni fa
parent
commit
d34164cd0b
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      src/spiderutil/sysconfig.go

+ 2 - 1
src/spiderutil/sysconfig.go

@@ -25,7 +25,8 @@ type config struct {
 	Luadisablelib     map[string]map[string]bool `json:"luadisablelib"`
 	Working           int                        `json:"working"` //0高效模式,1节能模式
 	Chansize          int                        `json:"chansize"`
-	LogLevel          int                        `json:"logLevel"` //日志基本1debug 2info 3warn
+	DetailChansize    int                        `json:"detailchansize"` //下载三级页的线程数
+	LogLevel          int                        `json:"logLevel"`       //日志基本1debug 2info 3warn
 	DayNum            int                        `json:"daynum"`
 	Modal             int                        `json:"Modal"`          //1列表页三级页分开采集,0原始采完列表采三级页(7000,7700)
 	IsHistoryEvent    bool                       `json:"ishistoryevent"` //只有7000为true