diff --git a/rust_wtx_bench/Cargo.lock b/rust_wtx_bench/Cargo.lock index d6d9f2f..c5f56b8 100644 --- a/rust_wtx_bench/Cargo.lock +++ b/rust_wtx_bench/Cargo.lock @@ -529,13 +529,14 @@ dependencies = [ "pb-rs", "quick-protobuf", "tokio", - "wtx 0.15.2", + "wtx 0.16.0", ] [[package]] name = "wtx" -version = "0.15.2" -source = "git+https://github.com/c410-f3r/wtx?branch=misc#1c770aceb66fbad9925291d4585d9a9dff5f9d77" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16e4fdfcdda6e97435a314e0c59e546a85229728450c452730e3f3b6fcd59c41" dependencies = [ "ahash", "atoi", diff --git a/rust_wtx_bench/src/main.rs b/rust_wtx_bench/src/main.rs index 86b0c71..3b54582 100644 --- a/rust_wtx_bench/src/main.rs +++ b/rust_wtx_bench/src/main.rs @@ -16,8 +16,11 @@ async fn main() -> wtx::Result<()> { post(say_hello) ),)); Server::new(router) - .max_recv_streams_num(u32::MAX) + .initial_window_len(u32::MAX) .max_concurrent_streams_num(u32::MAX) + .max_frame_len(16384) + .max_headers_len(4096) + .max_recv_streams_num(u32::MAX) .listen("0.0.0.0:50051", |_| {}) .await }