summary refs log tree commit diff
path: root/src/gateway/Server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/gateway/Server.ts')
-rw-r--r--src/gateway/Server.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gateway/Server.ts b/src/gateway/Server.ts

index 7fea1a27..c6419cfa 100644 --- a/src/gateway/Server.ts +++ b/src/gateway/Server.ts
@@ -38,9 +38,9 @@ export class Server { if (server) this.server = server; else { - const elu = [1, 5, 15].map((x) => performance.eventLoopUtilization()); - const eluP = [1, 5, 15].map((x) => performance.eventLoopUtilization()); - const cpu = [1, 5, 15].map((x) => process.cpuUsage()); + const elu = [1, 5, 15].map(() => performance.eventLoopUtilization()); + const eluP = [1, 5, 15].map(() => performance.eventLoopUtilization()); + const cpu = [1, 5, 15].map(() => process.cpuUsage()); let sec = 0; setInterval(() => { sec += 1;