From 06908a2fbc06510c477cbca2bbf0d18a8dc9c526 Mon Sep 17 00:00:00 2001 From: 12600k-rog-d4 Date: Wed, 12 Aug 2026 21:47:27 +0800 Subject: [PATCH] chore: lower scan concurrency to 10 in config and yaml --- auto-check/auto-check.yaml | 2 +- auto-check/pkg/config/config.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/auto-check/auto-check.yaml b/auto-check/auto-check.yaml index c3b1ebe..47c1cb6 100644 --- a/auto-check/auto-check.yaml +++ b/auto-check/auto-check.yaml @@ -5,7 +5,7 @@ scan: cidr: "10.0.3.0/24" timeout: 3s - concurrency: 30 + concurrency: 10 # --- SSH 认证 --- ssh: diff --git a/auto-check/pkg/config/config.go b/auto-check/pkg/config/config.go index a52540f..b91b7f8 100644 --- a/auto-check/pkg/config/config.go +++ b/auto-check/pkg/config/config.go @@ -76,7 +76,7 @@ func Default() *Config { Scan: ScanConfig{ CIDR: "192.168.1.0/24", Timeout: 3 * time.Second, - Concurrency: 30, + Concurrency: 10, }, SSH: SSHConfig{ User: "root",