summaryrefslogtreecommitdiff
path: root/toxcore/net_crypto.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2015-01-17 21:27:38 -0500
committerirungentoo <irungentoo@gmail.com>2015-01-17 21:27:38 -0500
commit6e0b807f09dd3dc8eba452678058904c5fff2d76 (patch)
tree3f72e560f4a38e9d1b6e07c2736474b953a3c834 /toxcore/net_crypto.h
parenta8bf060815f775849853ad1c7e1dcd16dd2e0388 (diff)
Attempted fix of Tox disconnecting during file transfers by tweaking
some congestion control numbers.
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 9d699340..7e59475e 100644
--- a/toxcore/net_crypto.h
+++ b/toxcore/net_crypto.h
@@ -86,7 +86,7 @@
86 86
87/* Base current transfer speed on last CONGESTION_QUEUE_ARRAY_SIZE number of points taken 87/* Base current transfer speed on last CONGESTION_QUEUE_ARRAY_SIZE number of points taken
88 at the dT defined in net_crypto.c */ 88 at the dT defined in net_crypto.c */
89#define CONGESTION_QUEUE_ARRAY_SIZE 8 89#define CONGESTION_QUEUE_ARRAY_SIZE 24
90 90
91typedef struct { 91typedef struct {
92 uint64_t time; 92 uint64_t time;