summaryrefslogtreecommitdiff
path: root/toxcore/net_crypto.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2015-11-11 11:00:08 -0500
committerirungentoo <irungentoo@gmail.com>2015-11-11 11:00:08 -0500
commit6b7f1deb7929c4134fd70eb97bf2c1263fab0652 (patch)
tree85837a9820615c0a1ea84d2819daa88e10670b97 /toxcore/net_crypto.h
parent0d0b74f5a8662a0b3b7c4da3537d1e8942f20656 (diff)
Lower chances of disconnect during file transfers.
Diffstat (limited to 'toxcore/net_crypto.h')
-rw-r--r--toxcore/net_crypto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/net_crypto.h b/toxcore/net_crypto.h
index e5484e1e..9e6ff4b5 100644
--- a/toxcore/net_crypto.h
+++ b/toxcore/net_crypto.h
@@ -39,7 +39,7 @@
39#define CRYPTO_PACKET_BUFFER_SIZE 16384 /* Must be a power of 2 */ 39#define CRYPTO_PACKET_BUFFER_SIZE 16384 /* Must be a power of 2 */
40 40
41/* Minimum packet rate per second. */ 41/* Minimum packet rate per second. */
42#define CRYPTO_PACKET_MIN_RATE 8.0 42#define CRYPTO_PACKET_MIN_RATE 4.0
43 43
44/* Minimum packet queue max length. */ 44/* Minimum packet queue max length. */
45#define CRYPTO_MIN_QUEUE_LENGTH 64 45#define CRYPTO_MIN_QUEUE_LENGTH 64