fix(gateway): scope concurrency helper to tests

This commit is contained in:
elky
2026-07-12 22:36:48 +08:00
parent e58621a735
commit a728c090a9
+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)
}