diff options
-rw-r--r-- | toxcore/onion_client.c | 4 |
1 files 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) | |||
1126 | } | 1126 | } |
1127 | 1127 | ||
1128 | #define ANNOUNCE_FRIEND (ONION_NODE_PING_INTERVAL * 3) | 1128 | #define ANNOUNCE_FRIEND (ONION_NODE_PING_INTERVAL * 3) |
1129 | #define ANNOUNCE_FRIEND_BEGINNING 5 | 1129 | #define ANNOUNCE_FRIEND_BEGINNING 3 |
1130 | #define FRIEND_ONION_NODE_TIMEOUT (ONION_NODE_TIMEOUT * 3) | 1130 | #define FRIEND_ONION_NODE_TIMEOUT (ONION_NODE_TIMEOUT * 3) |
1131 | 1131 | ||
1132 | #define RUN_COUNT_FRIEND_ANNOUNCE_BEGINNING 15 | 1132 | #define RUN_COUNT_FRIEND_ANNOUNCE_BEGINNING 17 |
1133 | 1133 | ||
1134 | static void do_friend(Onion_Client *onion_c, uint16_t friendnum) | 1134 | static void do_friend(Onion_Client *onion_c, uint16_t friendnum) |
1135 | { | 1135 | { |