From 8c86ab2d6bd403de5c6a36925aa1c604e24012db Mon Sep 17 00:00:00 2001 From: irungentoo Date: Sat, 1 Nov 2014 23:32:54 -0400 Subject: Decreased Tox idle bandwidth usage but potentially increased time to find friends (needs some real world testing). --- toxcore/onion_client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toxcore/onion_client.c b/toxcore/onion_client.c index b774956c..5ea3912d 100644 --- a/toxcore/onion_client.c +++ b/toxcore/onion_client.c @@ -1125,9 +1125,9 @@ static void populate_path_nodes(Onion_Client *onion_c) } } -#define ANNOUNCE_FRIEND (ONION_NODE_PING_INTERVAL * 3) +#define ANNOUNCE_FRIEND (ONION_NODE_PING_INTERVAL * 6) #define ANNOUNCE_FRIEND_BEGINNING 3 -#define FRIEND_ONION_NODE_TIMEOUT (ONION_NODE_TIMEOUT * 3) +#define FRIEND_ONION_NODE_TIMEOUT (ONION_NODE_TIMEOUT * 4) #define RUN_COUNT_FRIEND_ANNOUNCE_BEGINNING 17 -- cgit v1.2.3