FIX: Always submit shaped devices to LTS/Insight on first start, rather than just being lazy.

This commit is contained in:
Herbert Wolverson 2024-12-27 11:01:20 -06:00
parent 18788fb114
commit 758035d864

View File

@ -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.");