fix(gateway): scope concurrency test helper to tests

This commit is contained in:
MMEXA
2026-07-12 21:08:30 +08:00
parent cf0d957ac7
commit b1be370b2e
+1
View File
@@ -286,6 +286,7 @@ fn available_parallelism_usize() -> usize {
.max(1)
}
#[cfg(test)]
fn automatic_gateway_request_concurrency_for_parallelism(parallelism: usize) -> usize {
automatic_gateway_request_concurrency_for_capacity(parallelism, None)
}