mirror of
https://github.com/shadow1ng/fscan.git
synced 2025-07-13 21:02:44 +08:00
perf: 默认线程改为600
This commit is contained in:
parent
0dc4a6c360
commit
25dc6102ed
@ -74,7 +74,7 @@ func Flag(Info *HostInfo) {
|
|||||||
// 扫描控制参数
|
// 扫描控制参数
|
||||||
// ═════════════════════════════════════════════════
|
// ═════════════════════════════════════════════════
|
||||||
flag.StringVar(&ScanMode, "m", "all", GetText("flag_scan_mode"))
|
flag.StringVar(&ScanMode, "m", "all", GetText("flag_scan_mode"))
|
||||||
flag.IntVar(&ThreadNum, "t", 10, GetText("flag_thread_num"))
|
flag.IntVar(&ThreadNum, "t", 600, GetText("flag_thread_num"))
|
||||||
flag.Int64Var(&Timeout, "time", 3, GetText("flag_timeout"))
|
flag.Int64Var(&Timeout, "time", 3, GetText("flag_timeout"))
|
||||||
flag.IntVar(&ModuleThreadNum, "mt", 10, GetText("flag_module_thread_num"))
|
flag.IntVar(&ModuleThreadNum, "mt", 10, GetText("flag_module_thread_num"))
|
||||||
flag.Int64Var(&GlobalTimeout, "gt", 180, GetText("flag_global_timeout"))
|
flag.Int64Var(&GlobalTimeout, "gt", 180, GetText("flag_global_timeout"))
|
||||||
|
Loading…
Reference in New Issue
Block a user