nstats
Advanced tools
Comparing version 3.1.0 to 3.2.0
@@ -314,3 +314,5 @@ const fp = require('fastify-plugin') | ||
this.data.responseOverhead.avg = (this.data.responseOverhead.total / this.data.totalPackets); | ||
if(this.data.responseOverhead.total > 0) { | ||
this.data.responseOverhead.avg = (this.data.responseOverhead.total / this.data.totalPackets); | ||
} | ||
@@ -317,0 +319,0 @@ if(this.httpServer) |
{ | ||
"name": "nstats", | ||
"version": "3.1.0", | ||
"version": "3.2.0", | ||
"description": "A fast and compact way to get all your network and process stats for your node application.", | ||
@@ -5,0 +5,0 @@ "main": "nstats.js", |
51158
1983