summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2018-09-26 16:31:24 -0700
committerIvan Kohler <ivan@freeside.biz>2018-09-26 16:31:24 -0700
commitd2e995622cff5402cd887abad948a986a3ceba82 (patch)
tree53089ee4230e08a7a2c9176026560216e5ec2aea
parente951547a233be8b7ecbd99ddc5e719f0707c4d9f (diff)
increase paymentech timeout, RT#81278
-rwxr-xr-xFS/bin/freeside-paymentech-download2
-rwxr-xr-xFS/bin/freeside-paymentech-upload2
2 files changed, 2 insertions, 2 deletions
diff --git a/FS/bin/freeside-paymentech-download b/FS/bin/freeside-paymentech-download
index 9a1f609..4d99df2 100755
--- a/FS/bin/freeside-paymentech-download
+++ b/FS/bin/freeside-paymentech-download
@@ -62,7 +62,7 @@ while ($ssh_retry > 0) {
$sftp = Net::SFTP::Foreign->new( host => $host,
user => $username,
password => $password,
- timeout => 30,
+ timeout => 300,
);
last unless $sftp->error;
$ssh_retry -= 1;
diff --git a/FS/bin/freeside-paymentech-upload b/FS/bin/freeside-paymentech-upload
index 5ae147d..2880f0e 100755
--- a/FS/bin/freeside-paymentech-upload
+++ b/FS/bin/freeside-paymentech-upload
@@ -92,7 +92,7 @@ while ($ssh_retry > 0) {
$sftp = Net::SFTP::Foreign->new( host => $host,
user => $username,
password => $password,
- timeout => 30,
+ timeout => 300,
);
last unless $sftp->error;
$ssh_retry -= 1;