mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Decrease time to announce ourselves to 3 seconds.
This commit is contained in:
parent
4e6f993e7d
commit
c8301974c7
|
@ -1209,7 +1209,7 @@ void oniondata_registerhandler(Onion_Client *onion_c, uint8_t byte, oniondata_ha
|
|||
onion_c->Onion_Data_Handlers[byte].object = object;
|
||||
}
|
||||
|
||||
#define ANNOUNCE_INTERVAL_NOT_ANNOUNCED 5
|
||||
#define ANNOUNCE_INTERVAL_NOT_ANNOUNCED 3
|
||||
#define ANNOUNCE_INTERVAL_ANNOUNCED ONION_NODE_PING_INTERVAL
|
||||
|
||||
static void do_announce(Onion_Client *onion_c)
|
||||
|
|
Loading…
Reference in New Issue
Block a user