Skip to content

Commit

Permalink
Merge pull request #16 from ryancole/fix-exponential-backoff
Browse files Browse the repository at this point in the history
fixed exponential backoff timeout
  • Loading branch information
macgyver603 authored Feb 15, 2019
2 parents 42d10cc + bceb63d commit 5bdb2e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-webhdfs",
"version": "1.0.0",
"version": "1.0.1",
"description": "A WebHDFS module for Node.js.",
"author": "Ryan Cole <[email protected]> (http://rycole.com)",
"homepage": "https://github.com/ryancole/node-webhdfs",
Expand Down
2 changes: 1 addition & 1 deletion src/webhdfs.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ WebHDFSClient.prototype._changeNameNodeHost = function (callback) {
this.options.namenode_host = list[index] ? list[index] : list[0];
this._makeBaseUrl();
return callback();
}, this.backoff_period_ms)
}, this._backoff_period_ms)
};

var _parseResponse = exports._parseResponse = function (self, fnName, args, bodyArgs, callback, justCheckErrors){
Expand Down

0 comments on commit 5bdb2e4

Please sign in to comment.