diff options
author | irungentoo <irungentoo@gmail.com> | 2014-11-18 21:00:26 -0500 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2014-11-18 21:00:26 -0500 |
commit | c8301974c74e61c212afe38010725fef85d94ebf (patch) | |
tree | 90a49b2f27393e1872a9df13716116dbe07c59b4 | |
parent | 4e6f993e7d22865ee2ac90bd7dd3ff25b078c55c (diff) |
Decrease time to announce ourselves to 3 seconds.
-rw-r--r-- | toxcore/onion_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/onion_client.c b/toxcore/onion_client.c index 5ea3912d..d22b2c8b 100644 --- a/toxcore/onion_client.c +++ b/toxcore/onion_client.c | |||
@@ -1209,7 +1209,7 @@ void oniondata_registerhandler(Onion_Client *onion_c, uint8_t byte, oniondata_ha | |||
1209 | onion_c->Onion_Data_Handlers[byte].object = object; | 1209 | onion_c->Onion_Data_Handlers[byte].object = object; |
1210 | } | 1210 | } |
1211 | 1211 | ||
1212 | #define ANNOUNCE_INTERVAL_NOT_ANNOUNCED 5 | 1212 | #define ANNOUNCE_INTERVAL_NOT_ANNOUNCED 3 |
1213 | #define ANNOUNCE_INTERVAL_ANNOUNCED ONION_NODE_PING_INTERVAL | 1213 | #define ANNOUNCE_INTERVAL_ANNOUNCED ONION_NODE_PING_INTERVAL |
1214 | 1214 | ||
1215 | static void do_announce(Onion_Client *onion_c) | 1215 | static void do_announce(Onion_Client *onion_c) |