increase paymentech timeout, RT#81278
authorIvan Kohler <ivan@freeside.biz>
Wed, 26 Sep 2018 23:31:17 +0000 (16:31 -0700)
committerIvan Kohler <ivan@freeside.biz>
Wed, 26 Sep 2018 23:31:17 +0000 (16:31 -0700)
FS/bin/freeside-paymentech-download
FS/bin/freeside-paymentech-upload

index 9a1f609..4d99df2 100755 (executable)
@@ -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;
index 799e6c4..770239d 100755 (executable)
@@ -97,7 +97,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;