We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba8711f commit 2af7327Copy full SHA for 2af7327
agents/src/worker.ts
@@ -29,7 +29,7 @@ const cpuLoad = (): number =>
29
(os
30
.cpus()
31
.reduce(
32
- (acc, x) => acc + x.times.user / Object.values(x.times).reduce((acc, x) => acc + x, 0),
+ (acc, x) => acc + x.times.idle / Object.values(x.times).reduce((acc, x) => acc + x, 0),
33
0,
34
) /
35
os.cpus().length) *
0 commit comments