Comparing version 0.5.6 to 0.5.7
@@ -32,3 +32,4 @@ // Load modules | ||
maxLogSize: 0, // Max bytes allowed to be written to each log file | ||
leakDetection: false // Check heap for leaks and log with ops event | ||
leakDetection: false, // Check heap for leaks and log with ops event | ||
requestTimeout: 60000 // Number of ms to set timeout for http request to | ||
}; | ||
@@ -220,3 +221,3 @@ | ||
Client.request('post', uri, { headers: { 'content-type': 'application/json' }, payload: JSON.stringify(envelope) }, function () { }); | ||
Client.request('post', uri, { headers: { 'content-type': 'application/json' }, payload: JSON.stringify(envelope), timeout: self.settings.requestTimeout }, function () { }); | ||
}); | ||
@@ -223,0 +224,0 @@ }; |
{ | ||
"name": "good", | ||
"description": "Server and process monitoring plugin", | ||
"version": "0.5.6", | ||
"version": "0.5.7", | ||
"author": "Van Nguyen <the.gol.effect@gmail.com>", | ||
@@ -6,0 +6,0 @@ "contributors":[ |
@@ -28,2 +28,3 @@ <a href="https://github.com/spumko"><img src="https://raw.github.com/spumko/spumko/master/images/from.png" align="right" /></a> | ||
- 'tail' - the response was sent and all request tails completed. | ||
- `requestsTimeout` - the number of milliseconds to set the request timeout to when broadcasting to HTTP subscribers | ||
- `subscribers` - an object where each key is a destination and each value is either an array or object with an array of subscriptions. The subscriptions that are available are _ops_, _request_, and _log_. The destination can be a URI, file or directory path, and _console_. Defaults to a console subscriber for _ops_, _request_, and _log_ events. To disable the console output for the server instance pass an empty array into the subscribers "console" configuration. | ||
@@ -30,0 +31,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
121375
1687
92