From fbe70c1e84e1ce2ed7e6d73987519172676ebd87 Mon Sep 17 00:00:00 2001 From: guilhermeaiolfi Date: Wed, 21 Jan 2015 16:55:52 -0200 Subject: [PATCH] Support 'timeout' in config for sftp schema --- src/scheme/sftp.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scheme/sftp.coffee b/src/scheme/sftp.coffee index dce3852..be54adf 100644 --- a/src/scheme/sftp.coffee +++ b/src/scheme/sftp.coffee @@ -44,6 +44,7 @@ module.exports = class SFTP privateKey : config.privateKey publicKey : config.publicKey passphrase : config.passphrase + readyTimeout : config.timeout ### Close the connection @@ -157,4 +158,4 @@ module.exports = class SFTP @_rmkdir paths, callback else return callback.apply(this, [undefined]) if paths.length == 0 - @_rmkdir paths, callback \ No newline at end of file + @_rmkdir paths, callback