Comparing version 0.0.3 to 0.0.4
@@ -20,2 +20,3 @@ var HTTP_STATUS_CODES = require('http').STATUS_CODES; | ||
this.appVersion = null; | ||
this.timeout = 30 * 1000; | ||
@@ -69,3 +70,3 @@ // Disabled, see comments in appendServerEnvironmentXml() | ||
body: body, | ||
timeout: 30 * 1000, | ||
timeout: this.timeout, | ||
headers: { | ||
@@ -72,0 +73,0 @@ 'Content-Length': body.length, |
@@ -5,3 +5,3 @@ { | ||
"description": "Node.js client for airbrakeapp.com, formerly hoptoad.", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"homepage": "https://github.com/felixge/node-airbrake", | ||
@@ -8,0 +8,0 @@ "repository": { |
@@ -55,2 +55,3 @@ # airbrake | ||
* Provides notification url linking to airbrake in `notify()` callback | ||
* Timeout airbrake requests after 30 seconds, you never know | ||
@@ -148,2 +149,6 @@ [long-stack-traces]: https://github.com/tlrobinson/long-stack-traces | ||
### airbrake.timeout = 30 * 1000 | ||
The timeout after which to give up trying to notify airbrake in ms. | ||
### airbrake.handleExceptions() | ||
@@ -150,0 +155,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1151027
372
183