From 4ed077c6341581a97ccf951fbd0a3573f3f0adae Mon Sep 17 00:00:00 2001 From: Herbert Wolverson Date: Thu, 30 Mar 2023 14:46:30 +0000 Subject: [PATCH] Last 5 minutes of throughput data are stored server-side on node_manager A server-side ringbuffer retains just the last 5 minutes of throughput. When the dashboard first loads, it collects all 5 minutes of data, so nothing appears skipped. Subsequent updates query the latest value in the buffer. FIXES #317 --- src/rust/lqos_node_manager/src/tracker/cache/mod.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/rust/lqos_node_manager/src/tracker/cache/mod.rs b/src/rust/lqos_node_manager/src/tracker/cache/mod.rs index 2e0a7d89..8829e9f5 100644 --- a/src/rust/lqos_node_manager/src/tracker/cache/mod.rs +++ b/src/rust/lqos_node_manager/src/tracker/cache/mod.rs @@ -5,9 +5,7 @@ mod cpu_ram; mod shaped_devices; mod throughput; -mod dns_cache; pub use cpu_ram::*; pub use shaped_devices::*; pub use throughput::THROUGHPUT_BUFFER; -pub use dns_cache::lookup_dns;