From a0e783213bff0ad39dc1c1acb7e552f3f8b94917 Mon Sep 17 00:00:00 2001 From: irungentoo Date: Sun, 21 Jun 2015 21:36:10 -0400 Subject: Lower the chances of disconnect when transferring files. --- toxcore/net_crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toxcore') diff --git a/toxcore/net_crypto.c b/toxcore/net_crypto.c index 5aed104a..4f4f8283 100644 --- a/toxcore/net_crypto.c +++ b/toxcore/net_crypto.c @@ -2003,7 +2003,7 @@ static int udp_handle_packet(void *object, IP_Port source, const uint8_t *packet #define REQUEST_PACKETS_COMPARE_CONSTANT (0.125 * 100.0) /* Multiplier for maximum allowed resends. */ -#define PACKET_RESEND_MULTIPLIER 2 +#define PACKET_RESEND_MULTIPLIER 3 /* Timeout for increasing speed after congestion event (in ms). */ #define CONGESTION_EVENT_TIMEOUT 2000 -- cgit v1.2.3