Adjusted onion timeouts.

This commit is contained in:
irungentoo 2014-12-29 22:15:16 -05:00
parent ffa7a726b2
commit 87fb1e4119
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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