diff options
author | irungentoo_trip <irungentoo@gmail.com> | 2014-10-27 13:56:12 -0700 |
---|---|---|
committer | irungentoo_trip <irungentoo@gmail.com> | 2014-10-27 13:56:12 -0700 |
commit | 18c66eed50f6cb4cbc488eb111684571cf3a77d1 (patch) | |
tree | 37e680533888bec08e9ad35bf1d07535d2d2adb8 /toxcore | |
parent | c136145647b0cfd092512e88445612d01e6e8665 (diff) |
Initial friend finding might work a bit better.
Diffstat (limited to 'toxcore')
-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 | { |