Skip to content

Commit

Permalink
chore: Decrease window and buffer size
Browse files Browse the repository at this point in the history
  • Loading branch information
dariusc93 committed Nov 13, 2023
1 parent ea0076a commit aff7fb8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extensions/warp-ipfs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,8 @@ impl WarpIpfs {
.set_keypair(keypair)
.with_rendezvous_client()
.set_transport_configuration(TransportConfig {
yamux_receive_window_size: 256*1024,
yamux_max_buffer_size: 1024 * 1024,
yamux_update_mode: UpdateMode::Read,
..Default::default()
})
Expand Down

0 comments on commit aff7fb8

Please sign in to comment.