mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
This might improve the file transfer disconnect issue.
This commit is contained in:
parent
63ecb77556
commit
5def57afcf
|
@ -2034,7 +2034,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 3
|
||||
#define PACKET_RESEND_MULTIPLIER 3.5
|
||||
|
||||
/* Timeout for increasing speed after congestion event (in ms). */
|
||||
#define CONGESTION_EVENT_TIMEOUT 2000
|
||||
|
|
Loading…
Reference in New Issue
Block a user