Skip to content

Commit

Permalink
FIX: Always submit shaped devices to LTS/Insight on first start, rath…
Browse files Browse the repository at this point in the history
…er than just being lazy.
  • Loading branch information
thebracket committed Dec 27, 2024
1 parent 18788fb commit 758035d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rust/lqosd/src/shaped_devices_tracker/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use crate::throughput_tracker::THROUGHPUT_TRACKER;

pub static SHAPED_DEVICES: Lazy<ArcSwap<ConfigShapedDevices>> =
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.");
Expand Down

0 comments on commit 758035d

Please sign in to comment.