mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-07 18:07:47 +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)
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
fn automatic_gateway_request_concurrency_for_parallelism(parallelism: usize) -> usize {
|
||||
automatic_gateway_request_concurrency_for_capacity(parallelism, None)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user