Decreased Tox idle bandwidth usage but potentially increased time to

find friends (needs some real world testing).
This commit is contained in:
irungentoo 2014-11-01 23:32:54 -04:00
parent d8c5be8c79
commit 8c86ab2d6b
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -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 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 #define RUN_COUNT_FRIEND_ANNOUNCE_BEGINNING 17