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 71ea118
Show file tree
Hide file tree
Showing 2 changed files with 7 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.

4 changes: 3 additions & 1 deletion rust_wtx_bench/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ async fn main() -> wtx::Result<()> {
post(say_hello)
),));
Server::new(router)
.max_recv_streams_num(u32::MAX)
.max_concurrent_streams_num(u32::MAX)
.max_frame_len(16_384)
.max_headers_len(4096)
.max_recv_streams_num(u32::MAX)
.listen("0.0.0.0:50051", |_| {})
.await
}
Expand Down

0 comments on commit 71ea118

Please sign in to comment.