Skip to content

Commit

Permalink
Tweak parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
c410-f3r committed Aug 24, 2024
1 parent 7789a19 commit 61a0201
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
7 changes: 4 additions & 3 deletions rust_wtx_bench/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion rust_wtx_bench/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 61a0201

Please sign in to comment.