mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Adjusted onion timeouts.
This commit is contained in:
parent
ffa7a726b2
commit
87fb1e4119
|
@ -1190,7 +1190,7 @@ static void populate_path_nodes(Onion_Client *onion_c)
|
||||||
|
|
||||||
#define ANNOUNCE_FRIEND (ONION_NODE_PING_INTERVAL * 6)
|
#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 * 4)
|
#define FRIEND_ONION_NODE_TIMEOUT (ONION_NODE_TIMEOUT * 6)
|
||||||
|
|
||||||
#define RUN_COUNT_FRIEND_ANNOUNCE_BEGINNING 17
|
#define RUN_COUNT_FRIEND_ANNOUNCE_BEGINNING 17
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
#define MAX_ONION_CLIENTS 8
|
#define MAX_ONION_CLIENTS 8
|
||||||
#define ONION_NODE_PING_INTERVAL 20
|
#define ONION_NODE_PING_INTERVAL 20
|
||||||
#define ONION_NODE_TIMEOUT (ONION_NODE_PING_INTERVAL * 4)
|
#define ONION_NODE_TIMEOUT (ONION_NODE_PING_INTERVAL * 3)
|
||||||
|
|
||||||
/* The interval in seconds at which to tell our friends where we are */
|
/* The interval in seconds at which to tell our friends where we are */
|
||||||
#define ONION_FAKEID_INTERVAL 30
|
#define ONION_FAKEID_INTERVAL 30
|
||||||
|
|
Loading…
Reference in New Issue
Block a user