aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2018-12-31 11:08:09 +0100
committerAndreas Schneider <asn@cryptomilk.org>2018-12-31 11:08:09 +0100
commit22acb3a3384357e2f97c70fa70d81cb7632f75cd (patch)
tree7fe8bcabfad23cae03683a5f36980431c99df2c4
parent811db10fe8b6d4e2aa579caf185149450fd1586b (diff)
downloadcsync-22acb3a3384357e2f97c70fa70d81cb7632f75cd.tar.gz
csync-22acb3a3384357e2f97c70fa70d81cb7632f75cd.tar.xz
csync-22acb3a3384357e2f97c70fa70d81cb7632f75cd.zip
modules: Increase the libssh timeout to 20 sec
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r--modules/csync_sftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/csync_sftp.c b/modules/csync_sftp.c
index cab88a0..9181513 100644
--- a/modules/csync_sftp.c
+++ b/modules/csync_sftp.c
@@ -168,7 +168,7 @@ static int _sftp_connect(const char *uri)
size_t hlen = 0;
int rc = -1;
int state = SSH_SERVER_ERROR;
- int timeout = 10;
+ int timeout = 20;
int method;
char *verbosity;
char errbuf[256] = {0};