Skip to content

Commit 543fe66

Browse files
committed
rollback to @senx/warp10 1.0.14
1 parent 9a0fc2a commit 543fe66

3 files changed

Lines changed: 187 additions & 16 deletions

File tree

libV2/warp10.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,8 @@ class Warp10Client {
1818
const host = (config && config.host) || '127.0.0.1';
1919
const port = (config && config.port) || 4802;
2020
this._requestTimeout = (config && config.requestTimeout) || 60000;
21-
this._client = new Warp10({
22-
endpoint: `${proto}://${host}:${port}`,
23-
timeout: this._requestTimeout,
24-
});
21+
this._connectTimeout = (config && config.connectTimeout) || 60000;
22+
this._client = new Warp10(`${proto}://${host}:${port}`, this._requestTimeout, this._connectTimeout);
2523
}
2624

2725
async update(payload) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"homepage": "https://github.com/scality/utapi#readme",
1919
"dependencies": {
2020
"@hapi/joi": "^17.1.1",
21-
"@senx/warp10": "^2.0.3",
21+
"@senx/warp10": "1.0.14",
2222
"arsenal": "git+https://github.com/scality/Arsenal#8.2.28",
2323
"async": "^3.2.6",
2424
"aws-sdk": "^2.1005.0",

0 commit comments

Comments
 (0)