Comparing version 0.7.0 to 0.9.0
@@ -46,3 +46,3 @@ var redis = require('redis'); | ||
client.info("stats" ,function (err, reply) { | ||
var redis_cmd_sec = reply.match(/[\n\r].*instantaneous_ops_per_sec:\s*([^\n\r]*)/)[1]; | ||
var redis_cmd_sec = parseInt(reply.match(/[\n\r].*instantaneous_ops_per_sec:\s*([^\n\r]*)/)[1]); | ||
redisCmdSec.set(redis_cmd_sec); | ||
@@ -49,0 +49,0 @@ |
{ | ||
"name": "pm2-redis", | ||
"version": "0.7.0", | ||
"version": "0.9.0", | ||
"description": "Module to monitor redis", | ||
@@ -5,0 +5,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12051