From bbfd21edee653c6ba70c8295c3d8f78edcf81992 Mon Sep 17 00:00:00 2001 From: Christien Rioux Date: Thu, 28 Sep 2023 15:44:06 -0400 Subject: [PATCH] some debugging --- veilid-core/src/routing_table/routing_domain_editor.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/veilid-core/src/routing_table/routing_domain_editor.rs b/veilid-core/src/routing_table/routing_domain_editor.rs index 6e015fe4..4a7cbb7e 100644 --- a/veilid-core/src/routing_table/routing_domain_editor.rs +++ b/veilid-core/src/routing_table/routing_domain_editor.rs @@ -1,5 +1,6 @@ use super::*; +#[derive(Debug)] enum RoutingDomainChange { ClearDialInfoDetails { address_type: Option, @@ -135,6 +136,9 @@ impl RoutingDomainEditor { None }; + // Debug print + log_rtab!(debug "[{:?}] COMMIT: {:?}", self.routing_domain, self.changes); + // Apply changes let mut changed = false; { @@ -247,10 +251,6 @@ impl RoutingDomainEditor { } } } - if changed { - // Clear our 'peer info' cache, the peerinfo for this routing domain will get regenerated next time it is asked for - detail.common_mut().clear_cache() - } }); if changed { // Allow signed node info updates at same timestamp for otherwise dead nodes if our network has changed