summaryrefslogtreecommitdiff
path: root/toxcore
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-04-25 09:15:53 -0400
committerirungentoo <irungentoo@gmail.com>2014-04-25 09:15:53 -0400
commitc16928c4aa606291eb05a94b8228096d3a71d11c (patch)
treeff586e4bf0841492b330706a7db2779e1b831a5c /toxcore
parenta79eafbb5292b5fb5ae677c97a9bf2ecc4f853b0 (diff)
MAX_SENT_NODE is now 4.
This means that in every part of the Tox code that sends nodes will now send a maximum of 4 nodes instead of 8.
Diffstat (limited to 'toxcore')
-rw-r--r--toxcore/DHT.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/DHT.h b/toxcore/DHT.h
index 384a8450..c37511a1 100644
--- a/toxcore/DHT.h
+++ b/toxcore/DHT.h
@@ -36,7 +36,7 @@
36#define LCLIENT_LIST 32 36#define LCLIENT_LIST 32
37 37
38/* The max number of nodes to send with send nodes. */ 38/* The max number of nodes to send with send nodes. */
39#define MAX_SENT_NODES 8 39#define MAX_SENT_NODES 4
40 40
41/* Ping timeout in seconds */ 41/* Ping timeout in seconds */
42#define PING_TIMEOUT 3 42#define PING_TIMEOUT 3