diff options
Diffstat (limited to 'toxcore')
-rw-r--r-- | toxcore/onion_client.c | 4 | ||||
-rw-r--r-- | toxcore/onion_client.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/toxcore/onion_client.c b/toxcore/onion_client.c index e3bd306b..00c1a6b6 100644 --- a/toxcore/onion_client.c +++ b/toxcore/onion_client.c | |||
@@ -727,7 +727,7 @@ int random_path(Onion_Client *onion_c, Node_format *nodes) | |||
727 | return 0; | 727 | return 0; |
728 | } | 728 | } |
729 | 729 | ||
730 | #define ANNOUNCE_FRIEND 90 | 730 | #define ANNOUNCE_FRIEND 30 |
731 | 731 | ||
732 | static void do_friend(Onion_Client *onion_c, uint16_t friendnum) | 732 | static void do_friend(Onion_Client *onion_c, uint16_t friendnum) |
733 | { | 733 | { |
@@ -782,7 +782,7 @@ void oniondata_registerhandler(Onion_Client *onion_c, uint8_t byte, oniondata_ha | |||
782 | } | 782 | } |
783 | 783 | ||
784 | #define ANNOUNCE_INTERVAL_NOT_ANNOUNCED 10 | 784 | #define ANNOUNCE_INTERVAL_NOT_ANNOUNCED 10 |
785 | #define ANNOUNCE_INTERVAL_ANNOUNCED 90 | 785 | #define ANNOUNCE_INTERVAL_ANNOUNCED 30 |
786 | 786 | ||
787 | static void do_announce(Onion_Client *onion_c) | 787 | static void do_announce(Onion_Client *onion_c) |
788 | { | 788 | { |
diff --git a/toxcore/onion_client.h b/toxcore/onion_client.h index 9491b0b7..708d9093 100644 --- a/toxcore/onion_client.h +++ b/toxcore/onion_client.h | |||
@@ -30,7 +30,7 @@ | |||
30 | #define ONION_NODE_TIMEOUT 240 | 30 | #define ONION_NODE_TIMEOUT 240 |
31 | 31 | ||
32 | /* The interval in seconds at which to tell our friends where we are */ | 32 | /* The interval in seconds at which to tell our friends where we are */ |
33 | #define ONION_FAKEID_INTERVAL 60 | 33 | #define ONION_FAKEID_INTERVAL 30 |
34 | #define DHT_FAKEID_INTERVAL 20 | 34 | #define DHT_FAKEID_INTERVAL 20 |
35 | 35 | ||
36 | typedef struct { | 36 | typedef struct { |