Decrease time to announce ourselves to 3 seconds.

This commit is contained in:
irungentoo 2014-11-18 21:00:26 -05:00
parent 4e6f993e7d
commit c8301974c7
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -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)