parent
3395b91ad1
commit
b331b9f6a3
12 changed files with 433 additions and 75 deletions
|
|
@ -1460,9 +1460,11 @@ mod tests {
|
|||
|
||||
#[test]
|
||||
fn runtime_policy_normalizes_zero_channel_and_task_limits() {
|
||||
let mut policy = Policy::default();
|
||||
policy.receiver_queue_capacity = 0;
|
||||
policy.max_concurrent_stream_tasks = 0;
|
||||
let policy = Policy {
|
||||
receiver_queue_capacity: 0,
|
||||
max_concurrent_stream_tasks: 0,
|
||||
..Policy::default()
|
||||
};
|
||||
|
||||
let runtime = RuntimePolicy::from_public(&policy);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue