summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toxcore/DHT.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/DHT.c b/toxcore/DHT.c
index 83bf4888..3030566a 100644
--- a/toxcore/DHT.c
+++ b/toxcore/DHT.c
@@ -1907,8 +1907,8 @@ static uint32_t have_nodes_closelist(DHT *dht, Node_format *nodes, uint16_t num)
1907} 1907}
1908 1908
1909/* Interval in seconds between hardening checks */ 1909/* Interval in seconds between hardening checks */
1910#define HARDENING_INTERVAL 5 1910#define HARDENING_INTERVAL 20
1911#define HARDEN_TIMEOUT 500 1911#define HARDEN_TIMEOUT 600
1912 1912
1913/* Handle a received hardening packet */ 1913/* Handle a received hardening packet */
1914static int handle_hardening(void *object, IP_Port source, uint8_t *source_pubkey, uint8_t *packet, uint32_t length) 1914static int handle_hardening(void *object, IP_Port source, uint8_t *source_pubkey, uint8_t *packet, uint32_t length)