make clippy happy
This commit is contained in:
parent
37e4ccec88
commit
a5ead464f9
@ -71,8 +71,8 @@ impl Endpoint {
|
||||
let mut tp_cfg = TransportConfig::default();
|
||||
|
||||
tp_cfg
|
||||
.max_concurrent_bidi_streams(VarInt::from(DEFAULT_CONCURRENT_STREAMS as u32))
|
||||
.max_concurrent_uni_streams(VarInt::from(DEFAULT_CONCURRENT_STREAMS as u32))
|
||||
.max_concurrent_bidi_streams(VarInt::from(DEFAULT_CONCURRENT_STREAMS))
|
||||
.max_concurrent_uni_streams(VarInt::from(DEFAULT_CONCURRENT_STREAMS))
|
||||
.send_window(cfg.send_window)
|
||||
.stream_receive_window(VarInt::from_u32(cfg.receive_window))
|
||||
.max_idle_timeout(None);
|
||||
|
Loading…
x
Reference in New Issue
Block a user