Fix sysinfo compatibility issue
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-10-30 22:04:13 +01:00
parent 9b14d62830
commit 5917068add
2 changed files with 7 additions and 15 deletions

View File

@ -73,7 +73,7 @@ interface SystemInfo {
secs: number;
nanos: number;
};
global_cpu_info: GlobalCPUInfo;
global_cpu_usage: number;
cpus: CpuCore[];
physical_core_count: number;
total_memory: number;
@ -94,14 +94,6 @@ interface SystemInfo {
host_name: string;
}
interface GlobalCPUInfo {
cpu_usage: number;
name: string;
vendor_id: string;
brand: string;
frequency: number;
}
interface CpuCore {
cpu_usage: number;
name: string;