Adjusted some timeouts.

This commit is contained in:
irungentoo 2014-01-21 07:51:30 -05:00
parent 4e1bc481c5
commit 980318a8c6
2 changed files with 3 additions and 3 deletions

View File

@ -727,7 +727,7 @@ int random_path(Onion_Client *onion_c, Node_format *nodes)
return 0; return 0;
} }
#define ANNOUNCE_FRIEND 90 #define ANNOUNCE_FRIEND 30
static void do_friend(Onion_Client *onion_c, uint16_t friendnum) static void do_friend(Onion_Client *onion_c, uint16_t friendnum)
{ {
@ -782,7 +782,7 @@ void oniondata_registerhandler(Onion_Client *onion_c, uint8_t byte, oniondata_ha
} }
#define ANNOUNCE_INTERVAL_NOT_ANNOUNCED 10 #define ANNOUNCE_INTERVAL_NOT_ANNOUNCED 10
#define ANNOUNCE_INTERVAL_ANNOUNCED 90 #define ANNOUNCE_INTERVAL_ANNOUNCED 30
static void do_announce(Onion_Client *onion_c) static void do_announce(Onion_Client *onion_c)
{ {

View File

@ -30,7 +30,7 @@
#define ONION_NODE_TIMEOUT 240 #define ONION_NODE_TIMEOUT 240
/* 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 60 #define ONION_FAKEID_INTERVAL 30
#define DHT_FAKEID_INTERVAL 20 #define DHT_FAKEID_INTERVAL 20
typedef struct { typedef struct {