We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd5c8d7 commit dedcf4eCopy full SHA for dedcf4e
1 file changed
libV2/warp10.js
@@ -15,10 +15,10 @@ class Warp10Client {
15
this._readToken = (config && config.readToken) || 'readTokenStatic';
16
this.nodeId = (config && config.nodeId) || _config.nodeId;
17
const proto = (config && config.tls) ? 'https' : 'http';
18
- this._requestTimeout = (config && config.requestTimeout) || 30000;
19
- this._connectTimeout = (config && config.connectTimeout) || 30000;
20
const host = (config && config.host) || '127.0.0.1';
21
const port = (config && config.port) || 4802;
+ this._requestTimeout = (config && config.requestTimeout) || 60000;
+ this._connectTimeout = (config && config.connectTimeout) || 60000;
22
this._client = new Warp10(`${proto}://${host}:${port}`, this._requestTimeout, this._connectTimeout);
23
}
24
0 commit comments