More adjustments to connection timeouts

This commit is contained in:
QuantumEntangledAndy committed 2023-10-24 12:40:54 +07:00
1 parent f532d83bb3
commit 5527f0281e
1 file changed
+2 -2
@@ -325,8 +325,8 @@ impl UdpPayloadInner {
// In order to achieve this we use dedicated threads for ACK
// and the socket
let (socket_in_tx, socket_in_rx) = channel::<BcUdp>(100);
let (socket_out_tx, socket_out_rx) = channel::<(BcUdp, SocketAddr)>(100);
let (socket_in_tx, socket_in_rx) = channel::<BcUdp>(500);
let (socket_out_tx, socket_out_rx) = channel::<(BcUdp, SocketAddr)>(500);
// let (mut socket_tx, mut socket_rx) = inner.split();
// Send/Recv on the socket