Skip to content

Commit

Permalink
Increase channel's buffer size
Browse files Browse the repository at this point in the history
  • Loading branch information
akiradeveloper committed Jun 16, 2024
1 parent 18d2b45 commit 71a1e66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/env/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ impl Env {
.or_insert_with(|| {
let uri: Uri = address_from_id(id).parse().unwrap();
let endpoint = Endpoint::from(uri)
.buffer_size(1<<16)
.http2_keep_alive_interval(std::time::Duration::from_secs(1))
.keep_alive_while_idle(true)
.timeout(std::time::Duration::from_secs(5))
Expand Down

0 comments on commit 71a1e66

Please sign in to comment.