From 66a2834192abdd807909883ebcd173518ef42d5c Mon Sep 17 00:00:00 2001 From: Nils Andreas Svee Date: Sat, 21 Feb 2026 22:41:43 +0700 Subject: [PATCH] feat(reflector): Use configurable reselection time --- src/reflector_selector.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reflector_selector.rs b/src/reflector_selector.rs index 963e784..fe72e8f 100644 --- a/src/reflector_selector.rs +++ b/src/reflector_selector.rs @@ -44,7 +44,7 @@ impl ReflectorSelector { // After 40 reselections, slow down to every 15 minutes if reselection_count > 40 { - selector_sleep_time = Duration::new(15 * 60, 0); + selector_sleep_time = Duration::new(self.config.peer_reselection_time * 60, 0); } let mut next_peers: Vec = Vec::new();