@@ -86,7 +86,7 @@ pub struct Cfg {
8686 /// [Sender::try_send](super::Sender::try_send).
8787 /// It will not affect [remote channels](crate::rch).
8888 ///
89- /// By default this is 16 .
89+ /// By default this is 128 .
9090 /// This must not be zero.
9191 pub shared_send_queue : usize ,
9292 /// Length of transport send queue.
@@ -95,7 +95,7 @@ pub struct Cfg {
9595 /// Raising this may improve performance but might incur a slight increase in latency.
9696 /// For minimum latency this should be set to 1.
9797 ///
98- /// By default this is 16 .
98+ /// By default this is 128 .
9999 /// This must not be zero.
100100 pub transport_send_queue : usize ,
101101 /// Length of transport receive queue.
@@ -104,7 +104,7 @@ pub struct Cfg {
104104 /// Raising this may improve performance but might incur a slight increase in latency.
105105 /// For minimum latency this should be set to 1.
106106 ///
107- /// By default this is 16 .
107+ /// By default this is 128 .
108108 /// This must not be zero.
109109 pub transport_receive_queue : usize ,
110110 /// Maximum number of outstanding connection requests.
@@ -128,9 +128,9 @@ impl Default for Cfg {
128128 max_received_ports : 128 ,
129129 chunk_size : 16_384 ,
130130 receive_buffer : 524_288 ,
131- shared_send_queue : 16 ,
132- transport_send_queue : 16 ,
133- transport_receive_queue : 16 ,
131+ shared_send_queue : 128 ,
132+ transport_send_queue : 128 ,
133+ transport_receive_queue : 128 ,
134134 connect_queue : 128 ,
135135 _non_exhaustive : ( ) ,
136136 }
0 commit comments