Comment out LTS collecting cake stats, since we're already gathering them in the main program now. They were being dropped at the other end (beta 3 will fix that), this is just an efficiency gain in the interim.

This commit is contained in:
Herbert Wolverson 2024-07-23 08:45:29 -05:00
parent 2fd853aadc
commit ff93d07f8e

View File

@ -116,7 +116,7 @@ pub(crate) async fn collate_stats(comm_tx: Sender<SenderChannelMessage>) {
let (cpu, ram) = system_stats::get_cpu_ram().await;
// Obtain queue stats
let cake_stats = super::update_cake_stats().await;
//let cake_stats = super::update_cake_stats().await;
// Add to the submissions queue
@ -144,7 +144,7 @@ pub(crate) async fn collate_stats(comm_tx: Sender<SenderChannelMessage>) {
hosts: Some(stats_hosts),
tree: Some(tree_entries),
uisp_devices: None,
cake_stats,
cake_stats: None,
}, comm_tx).await;
// Clear the collection buffer