schema-client
Advanced tools
Comparing version 2.2.4 to 2.2.5
@@ -70,2 +70,3 @@ /** | ||
route: options.route, | ||
timeout: options.timeout, | ||
routeClientId: options.route && options.route.client | ||
@@ -94,3 +95,4 @@ }; | ||
{ | ||
verifyCert: this.params.verifyCert | ||
verifyCert: this.params.verifyCert, | ||
timeout: self.params.timeout | ||
}, | ||
@@ -97,0 +99,0 @@ function() { |
@@ -11,2 +11,3 @@ /** | ||
var DEFAULT_NETWORK_ERROR = 'Server unexpectedly closed network connection.'; | ||
var DEFAULT_TIMEOUT = 10000; | ||
@@ -72,3 +73,3 @@ /** | ||
this.stream.setEncoding('utf8'); | ||
this.stream.setTimeout(10000); | ||
this.stream.setTimeout(this.options.timeout || DEFAULT_TIMEOUT); | ||
}; | ||
@@ -75,0 +76,0 @@ |
{ | ||
"name": "schema-client", | ||
"version": "2.2.4", | ||
"version": "2.2.5", | ||
"description": "Schema API Client for NodeJS", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -77,2 +77,3 @@ var assert = require('chai').assert; | ||
session: undefined, | ||
timeout: undefined, | ||
route: undefined, | ||
@@ -79,0 +80,0 @@ routeClientId: undefined |
595755
25282