mirror of
https://github.com/threefoldtech/mycelium.git
synced 2026-06-05 23:31:38 +00:00
Change periodic route announcement to 5 minutes
More delay between periodic announcements. This is mainly to observe the effect on a larget scale in preparation for #253. Signed-off-by: Lee Smet <lee.smet@hotmail.com>
This commit is contained in:
@@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
route to it is lost as a result of the next-hop dying, or and update coming in
|
||||
which causes no routes to be feasible anymore.
|
||||
- Switched from the log to the tracing ecosystem.
|
||||
- Only do the periodic route announcement every 5 minutes instead of every minute.
|
||||
|
||||
### Fixed
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ const HELLO_INTERVAL: u64 = 20;
|
||||
const IHU_INTERVAL: Duration = Duration::from_secs(HELLO_INTERVAL * 3);
|
||||
/// Max time used in UPDATE packets. For local (static) routes this is the timeout they are
|
||||
/// advertised with.
|
||||
const UPDATE_INTERVAL: Duration = Duration::from_secs(HELLO_INTERVAL * 3);
|
||||
const UPDATE_INTERVAL: Duration = Duration::from_secs(HELLO_INTERVAL * 3 * 5);
|
||||
/// Time between route table dumps to peers.
|
||||
const ROUTE_PROPAGATION_INTERVAL: Duration = UPDATE_INTERVAL;
|
||||
/// Amount of seconds that can elapse before we consider a [`Peer`] as dead from the routers POV.
|
||||
|
||||
Reference in New Issue
Block a user