Comparing version 0.5.5 to 0.5.6
@@ -23,13 +23,15 @@ /** | ||
p.cpu = ecs.cpu * conf.correction_factor_cpu; | ||
p.cpu_sys = ecs.cpu_sys; | ||
p.cpu_usr = ecs.cpu_user; | ||
p.mem = ecs.mem_pct; | ||
setTimeout(() => { | ||
p.cpu = ecs.cpu * conf.correction_factor_cpu; | ||
p.cpu_sys = ecs.cpu_sys; | ||
p.cpu_usr = ecs.cpu_user; | ||
p.mem = ecs.mem_pct; | ||
if (ecs.millicore > 0) { | ||
p.metering = ecs.millicore / 1024; | ||
p.cpu_cores = Math.ceil(p.metering); | ||
} else { | ||
p.metering = p.cpu_cores; | ||
} | ||
if (ecs.millicore > 0) { | ||
p.metering = ecs.millicore / 1024; | ||
p.cpu_cores = Math.ceil(p.metering); | ||
} else { | ||
p.metering = p.cpu_cores; | ||
} | ||
}, 500); | ||
@@ -36,0 +38,0 @@ }; |
{ | ||
"name": "whatap", | ||
"homepage": "http://www.whatap.io", | ||
"version": "0.5.5", | ||
"version": "0.5.6", | ||
"releaseDate": "20250123", | ||
@@ -6,0 +6,0 @@ "description": "Monitoring and Profiling Service", |
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
1068067
23321