mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
FIX: Always submit shaped devices to LTS/Insight on first start, rather than just being lazy.
This commit is contained in:
parent
18788fb114
commit
758035d864
@ -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.");
|
||||
|
Loading…
Reference in New Issue
Block a user