summaryrefslogtreecommitdiff
path: root/toxcore
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore')
-rw-r--r--toxcore/DHT.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/DHT.c b/toxcore/DHT.c
index dc11ef05..2236fe61 100644
--- a/toxcore/DHT.c
+++ b/toxcore/DHT.c
@@ -47,7 +47,7 @@
47#include "util.h" 47#include "util.h"
48 48
49/* The timeout after which a node is discarded completely. */ 49/* The timeout after which a node is discarded completely. */
50#define KILL_NODE_TIMEOUT 300 50#define KILL_NODE_TIMEOUT (BAD_NODE_TIMEOUT + PING_INTERVAL)
51 51
52/* Ping interval in seconds for each random sending of a get nodes request. */ 52/* Ping interval in seconds for each random sending of a get nodes request. */
53#define GET_NODE_INTERVAL 20 53#define GET_NODE_INTERVAL 20