Do less work in sys (#3413)

This commit is contained in:
JT 2021-05-12 17:24:22 +12:00 committed by GitHub
parent efac712f62
commit 6769d46dbb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -197,7 +197,7 @@ pub fn temp(sys: &mut System, tag: Tag) -> Option<UntaggedValue> {
}
pub async fn sysinfo(tag: Tag) -> Vec<Value> {
let mut sys = System::new_all();
let mut sys = System::new();
let mut sysinfo = TaggedDictBuilder::with_capacity(&tag, 6);