diff options
-rw-r--r-- | toxcore/net_crypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/net_crypto.c b/toxcore/net_crypto.c index 85f49941..628666c0 100644 --- a/toxcore/net_crypto.c +++ b/toxcore/net_crypto.c | |||
@@ -2034,7 +2034,7 @@ static int udp_handle_packet(void *object, IP_Port source, const uint8_t *packet | |||
2034 | #define REQUEST_PACKETS_COMPARE_CONSTANT (0.125 * 100.0) | 2034 | #define REQUEST_PACKETS_COMPARE_CONSTANT (0.125 * 100.0) |
2035 | 2035 | ||
2036 | /* Multiplier for maximum allowed resends. */ | 2036 | /* Multiplier for maximum allowed resends. */ |
2037 | #define PACKET_RESEND_MULTIPLIER 3 | 2037 | #define PACKET_RESEND_MULTIPLIER 3.5 |
2038 | 2038 | ||
2039 | /* Timeout for increasing speed after congestion event (in ms). */ | 2039 | /* Timeout for increasing speed after congestion event (in ms). */ |
2040 | #define CONGESTION_EVENT_TIMEOUT 2000 | 2040 | #define CONGESTION_EVENT_TIMEOUT 2000 |