diff options
author | irungentoo <irungentoo@gmail.com> | 2013-09-30 17:20:35 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-09-30 17:20:35 -0400 |
commit | b9bffced7c75dc059ede6187cbefb773a2061e8f (patch) | |
tree | 248cc2d201a170f59c686fa60a92949e00aec045 | |
parent | 01ddd3249c36452b1c79ad4f7b236282f8b92017 (diff) |
Speeded up/fixed NAT hole punching and peer finding.
-rw-r--r-- | toxcore/DHT.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/DHT.c b/toxcore/DHT.c index 0bbacc90..2583b891 100644 --- a/toxcore/DHT.c +++ b/toxcore/DHT.c | |||
@@ -50,7 +50,7 @@ | |||
50 | #define PING_INTERVAL 60 | 50 | #define PING_INTERVAL 60 |
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 10 | 53 | #define GET_NODE_INTERVAL 5 |
54 | 54 | ||
55 | #define MAX_PUNCHING_PORTS 128 | 55 | #define MAX_PUNCHING_PORTS 128 |
56 | 56 | ||