瀏覽代碼

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

maxiaoshan 4 年之前
父節點
當前提交
d34164cd0b
共有 1 個文件被更改,包括 2 次插入1 次删除
  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