Skip to content

Commit f1e4689

Browse files
ChristophBodensteinChristophBodenstein
authored andcommitted
reset statistics after server reset
1 parent fad36e4 commit f1e4689

File tree

1 file changed

+5
-0
lines changed
  • TOEDistributionServer/src/node/tns/routes

1 file changed

+5
-0
lines changed

TOEDistributionServer/src/node/tns/routes/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,11 @@ router.post('/reset', function (req, res) {
704704
});
705705

706706
});
707+
averageSimulationsPerMinute = 0;
708+
minutesToFinish = 0;
709+
timedOutSimulations = 0;
710+
cpuUsage = 0;
711+
freeDiskSpace = 0;
707712
} else {
708713
console.log("Wrong password, will not reset server.");
709714

0 commit comments

Comments
 (0)