diff options
-rw-r--r-- | toxcore/onion_client.c | 2 | ||||
-rw-r--r-- | toxcore/onion_client.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/onion_client.c b/toxcore/onion_client.c index 2e39762f..76d8bac0 100644 --- a/toxcore/onion_client.c +++ b/toxcore/onion_client.c | |||
@@ -1190,7 +1190,7 @@ static void populate_path_nodes(Onion_Client *onion_c) | |||
1190 | 1190 | ||
1191 | #define ANNOUNCE_FRIEND (ONION_NODE_PING_INTERVAL * 6) | 1191 | #define ANNOUNCE_FRIEND (ONION_NODE_PING_INTERVAL * 6) |
1192 | #define ANNOUNCE_FRIEND_BEGINNING 3 | 1192 | #define ANNOUNCE_FRIEND_BEGINNING 3 |
1193 | #define FRIEND_ONION_NODE_TIMEOUT (ONION_NODE_TIMEOUT * 4) | 1193 | #define FRIEND_ONION_NODE_TIMEOUT (ONION_NODE_TIMEOUT * 6) |
1194 | 1194 | ||
1195 | #define RUN_COUNT_FRIEND_ANNOUNCE_BEGINNING 17 | 1195 | #define RUN_COUNT_FRIEND_ANNOUNCE_BEGINNING 17 |
1196 | 1196 | ||
diff --git a/toxcore/onion_client.h b/toxcore/onion_client.h index 7119a8bf..9a102891 100644 --- a/toxcore/onion_client.h +++ b/toxcore/onion_client.h | |||
@@ -30,7 +30,7 @@ | |||
30 | 30 | ||
31 | #define MAX_ONION_CLIENTS 8 | 31 | #define MAX_ONION_CLIENTS 8 |
32 | #define ONION_NODE_PING_INTERVAL 20 | 32 | #define ONION_NODE_PING_INTERVAL 20 |
33 | #define ONION_NODE_TIMEOUT (ONION_NODE_PING_INTERVAL * 4) | 33 | #define ONION_NODE_TIMEOUT (ONION_NODE_PING_INTERVAL * 3) |
34 | 34 | ||
35 | /* The interval in seconds at which to tell our friends where we are */ | 35 | /* The interval in seconds at which to tell our friends where we are */ |
36 | #define ONION_FAKEID_INTERVAL 30 | 36 | #define ONION_FAKEID_INTERVAL 30 |