diff --git a/implementations/rust/ockam/ockam_api/tests/portals.rs b/implementations/rust/ockam/ockam_api/tests/portals.rs index d1b0ab9d1e6..b4c4df9bc63 100644 --- a/implementations/rust/ockam/ockam_api/tests/portals.rs +++ b/implementations/rust/ockam/ockam_api/tests/portals.rs @@ -228,7 +228,7 @@ fn portal_low_bandwidth_connection_keep_working_for_60s() { // ┌────────┐ ┌───────────┐ ┌────────┐ // │ Node └─────► TCP └────────► Node │ // │ 1 ◄─────┐Passthrough◄────────┐ 2 │ - // └────┬───┘ │ 64KB/s │ └────▲───┘ + // └────┬───┘ │ 128KB/s │ └────▲───┘ // │ └───────────┘ │ // │ ┌───────────┐ │ // │ Portal │ TCP │ Outlet │ @@ -270,8 +270,8 @@ fn portal_low_bandwidth_connection_keep_working_for_60s() { let passthrough_server_handle = start_passthrough_server( &second_node_listen_address.to_string(), - Disruption::LimitBandwidth(64 * 1024), - Disruption::LimitBandwidth(64 * 1024), + Disruption::LimitBandwidth(128 * 1024), + Disruption::LimitBandwidth(128 * 1024), ) .await; diff --git a/implementations/rust/ockam/ockam_transport_tcp/src/portal/portal_message.rs b/implementations/rust/ockam/ockam_transport_tcp/src/portal/portal_message.rs index 6c2ba0fb5b0..08e04018988 100644 --- a/implementations/rust/ockam/ockam_transport_tcp/src/portal/portal_message.rs +++ b/implementations/rust/ockam/ockam_transport_tcp/src/portal/portal_message.rs @@ -108,7 +108,7 @@ pub enum PortalInternalMessage { } /// Maximum allowed size for a payload -pub const MAX_PAYLOAD_SIZE: usize = 48 * 1024; +pub const MAX_PAYLOAD_SIZE: usize = 96 * 1024; #[cfg(test)] mod test {