summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toxcore/onion_client.c4
-rw-r--r--toxcore/onion_client.h2
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
732static void do_friend(Onion_Client *onion_c, uint16_t friendnum) 732static 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
787static void do_announce(Onion_Client *onion_c) 787static 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
36typedef struct { 36typedef struct {