Skip to content

Commit 8d51d6c

Browse files
authored
fix: Update port RX/TX channel size to 32768
1 parent 10e4c01 commit 8d51d6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

twinleaf/src/tio/port.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,10 @@ pub struct Port {
209209
}
210210

211211
/// Default size of the rx channel when receiving to a crossbeam channel.
212-
pub static DEFAULT_RX_CHANNEL_SIZE: usize = 256;
212+
pub static DEFAULT_RX_CHANNEL_SIZE: usize = 32768;
213213

214214
/// Default size of the tx channel when sending to a crossbeam channel.
215-
pub static DEFAULT_TX_CHANNEL_SIZE: usize = 64;
215+
pub static DEFAULT_TX_CHANNEL_SIZE: usize = 32768;
216216

217217
impl Port {
218218
/// Method running the `Port` thread event loop. It bridges `mio` and

0 commit comments

Comments
 (0)