chen08209 说明 Concord 将代理组测速并发限制为每请求 10 个
chen08209 表示,提交 99c90bc3 将 GET /group/:name/delay 的成员探测并发上限设为每个请求 10 个,多个代理组同时请求仍会叠加。他称 macOS 回环测试中,6 个并发请求各测 50 个节点时,峰值内存增量由 25.19 MiB 降为 6.05 MiB,健康探测全部成功。timeout 仍按每个探测进入槽位后单独计时,因此排队中的正常节点会继续测试,但大量超时节点可能使整个请求超过 timeout。改动将纳入下一次发行。
作者原文@chen08209Fixed in 99c90bc3 (available in the next release):
GET /group/:name/delaynow caps concurrent member probes at10(GROUP_DELAY_CONCURRENCY = 10incrates/controller/src/routes.rs), matching sing-box's group delay limit and Concord's background health-check rounds (ROUND_CONCURRENCY = 10), instead of passingconcurrency: None.Each group delay request now runs at most 10 probes at a time, so peak memory no longer grows with group size (concurrent requests for several groups still add up). In a macOS loopback test with 6 concurrent 50-node groups, peak footprint delta fell from +25.19 MiB to +6.05 MiB and all 240 healthy probes succeeded with the cap versus 204 without it.
Note on timeout behavior: Concord continues to apply
timeoutper probe (starting when a member enters one of the 10 slots) rather than as a single request-wide deadline, so live members queued behind 10 timing-out members are still tested and report delays instead of timing out in the queue. As a trade-off, large groups with many timing-out members can take longer thantimeout(roughlytimeouts / 10 * timeout). This difference is documented indocs/compatibility.md.