Bump RC expiration constants significantly

pull/1058/head
Stephen Shelton 4 years ago
parent 493213717f
commit 9b00e6fa8d
No known key found for this signature in database
GPG Key ID: EE4BADACCE8B631C

@ -32,10 +32,10 @@ namespace llarp
/// 1 day for real network
llarp_time_t RouterContact::Lifetime = 24 * 60 * 60 * 1000;
#endif
/// update RCs every 5 minutes
llarp_time_t RouterContact::UpdateInterval = 5 * 60 * 1000;
/// an RC inserted long enough ago (30 min) is considered stale and is removed
llarp_time_t RouterContact::StaleInsertionAge = 30 * 60 * 1000;
/// update RCs every hour
llarp_time_t RouterContact::UpdateInterval = 60 * 60 * 1000;
/// an RC inserted long enough ago (4 hrs) is considered stale and is removed
llarp_time_t RouterContact::StaleInsertionAge = 4 * 60 * 60 * 1000;
NetID::NetID(const byte_t *val)
{

Loading…
Cancel
Save