summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-11-01 23:32:54 -0400
committerirungentoo <irungentoo@gmail.com>2014-11-01 23:32:54 -0400
commit8c86ab2d6bd403de5c6a36925aa1c604e24012db (patch)
tree5d395344b9ee04c76709f21d149e866449595295
parentd8c5be8c793843b65de04f5178f2287e95092208 (diff)
Decreased Tox idle bandwidth usage but potentially increased time to
find friends (needs some real world testing).
-rw-r--r--toxcore/onion_client.c4
1 files 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)
1125 } 1125 }
1126} 1126}
1127 1127
1128#define ANNOUNCE_FRIEND (ONION_NODE_PING_INTERVAL * 3) 1128#define ANNOUNCE_FRIEND (ONION_NODE_PING_INTERVAL * 6)
1129#define ANNOUNCE_FRIEND_BEGINNING 3 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 * 4)
1131 1131
1132#define RUN_COUNT_FRIEND_ANNOUNCE_BEGINNING 17 1132#define RUN_COUNT_FRIEND_ANNOUNCE_BEGINNING 17
1133 1133