Fix sysinfo compatibility issue
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user