mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-10 03:09:50 +08:00
fix(gateway): scope concurrency helper to tests
This commit is contained in:
@@ -286,6 +286,7 @@ fn available_parallelism_usize() -> usize {
|
|||||||
.max(1)
|
.max(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(test)]
|
||||||
fn automatic_gateway_request_concurrency_for_parallelism(parallelism: usize) -> usize {
|
fn automatic_gateway_request_concurrency_for_parallelism(parallelism: usize) -> usize {
|
||||||
automatic_gateway_request_concurrency_for_capacity(parallelism, None)
|
automatic_gateway_request_concurrency_for_capacity(parallelism, None)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user