From bceb63db0c6e42923e48476b322c43e78b8c948d Mon Sep 17 00:00:00 2001 From: Zach Burnham Date: Thu, 14 Feb 2019 14:01:53 -0700 Subject: [PATCH] fixed exponential backoff timeout --- package.json | 2 +- src/webhdfs.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 88767c8..2dec127 100644 --- a/package.json +++ b/package.json @@ -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 (http://rycole.com)", "homepage": "https://github.com/ryancole/node-webhdfs", diff --git a/src/webhdfs.js b/src/webhdfs.js index ad5e8c5..456013b 100644 --- a/src/webhdfs.js +++ b/src/webhdfs.js @@ -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){