From 758035d86426fb642c1c25d72f07af9e9c920d8b Mon Sep 17 00:00:00 2001 From: Herbert Wolverson Date: Fri, 27 Dec 2024 11:01:20 -0600 Subject: [PATCH] FIX: Always submit shaped devices to LTS/Insight on first start, rather than just being lazy. --- src/rust/lqosd/src/shaped_devices_tracker/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rust/lqosd/src/shaped_devices_tracker/mod.rs b/src/rust/lqosd/src/shaped_devices_tracker/mod.rs index f6c5f3552..d97a758f1 100644 --- a/src/rust/lqosd/src/shaped_devices_tracker/mod.rs +++ b/src/rust/lqosd/src/shaped_devices_tracker/mod.rs @@ -17,7 +17,7 @@ use crate::throughput_tracker::THROUGHPUT_TRACKER; pub static SHAPED_DEVICES: Lazy> = Lazy::new(|| ArcSwap::new(Arc::new(ConfigShapedDevices::default()))); -pub static STATS_NEEDS_NEW_SHAPED_DEVICES: AtomicBool = AtomicBool::new(false); +pub static STATS_NEEDS_NEW_SHAPED_DEVICES: AtomicBool = AtomicBool::new(true); fn load_shaped_devices() { debug!("ShapedDevices.csv has changed. Attempting to load it.");