From 18c66eed50f6cb4cbc488eb111684571cf3a77d1 Mon Sep 17 00:00:00 2001 From: irungentoo_trip Date: Mon, 27 Oct 2014 13:56:12 -0700 Subject: [PATCH] Initial friend finding might work a bit better. --- 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 59190180..1395fc07 100644 --- a/toxcore/onion_client.c +++ b/toxcore/onion_client.c @@ -1126,10 +1126,10 @@ static void populate_path_nodes(Onion_Client *onion_c) } #define ANNOUNCE_FRIEND (ONION_NODE_PING_INTERVAL * 3) -#define ANNOUNCE_FRIEND_BEGINNING 5 +#define ANNOUNCE_FRIEND_BEGINNING 3 #define FRIEND_ONION_NODE_TIMEOUT (ONION_NODE_TIMEOUT * 3) -#define RUN_COUNT_FRIEND_ANNOUNCE_BEGINNING 15 +#define RUN_COUNT_FRIEND_ANNOUNCE_BEGINNING 17 static void do_friend(Onion_Client *onion_c, uint16_t friendnum) {