Comparing version 0.0.0 to 0.0.1
@@ -11,2 +11,5 @@ var hatchet = require('hatchet.io'); | ||
// You can enable/disable franken transmission from auth config | ||
var enabled = typeof auth.enabled != 'undefined' ? auth.enabled : true; | ||
var config = { | ||
@@ -25,3 +28,3 @@ hatchet: { | ||
function start() { | ||
if (timer) return; | ||
if (timer || !enabled) return; | ||
timer = setInterval(function() { | ||
@@ -28,0 +31,0 @@ publisher.broadcast('heartbeat', { auth: auth, service: service, data: data, meta: { created: created, now: new Date() } }); |
{ | ||
"name": "franken", | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"description": "NodeJS module for the Franken monitoring service.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/inlightmedia/franken-node", |
@@ -32,2 +32,6 @@ # franken | ||
### 0.0.1 | ||
- ADDED: Added ability to enable/disable transmission from config. Useful for local/test environments | ||
### 0.0.0 | ||
@@ -34,0 +38,0 @@ |
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
4361
58
43