summaryrefslogtreecommitdiffstats
path: root/src/app
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2021-04-24 15:08:19 -0400
committerGitHub <noreply@github.com>2021-04-24 15:08:19 -0400
commitf98fa4a5f445b0ffe401487c7252ae30cecbd983 (patch)
treecfeb591846cd98ee15913792e0ca5e11d55e114e /src/app
parentd4a18aea759818989acd18295618063155e6a2b9 (diff)
change: remove gap between CPU and columns in basic (#460)
Removes the gap between the CPU section and other columns in basic mode.
Diffstat (limited to 'src/app')
-rw-r--r--src/app/data_harvester/cpu.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app/data_harvester/cpu.rs b/src/app/data_harvester/cpu.rs
index 4bc4cb94..bbc17509 100644
--- a/src/app/data_harvester/cpu.rs
+++ b/src/app/data_harvester/cpu.rs
@@ -189,6 +189,7 @@ pub async fn get_cpu_data_list(
})
}
- // Ok(Vec::from(cpu_deque.drain(0..5).collect::<Vec<_>>()))
+ // Ok(Vec::from(cpu_deque.drain(0..3).collect::<Vec<_>>())) // For artificially limiting the CPU results
+
Ok(Vec::from(cpu_deque))
}