]> _ Git - cubist_util.git/commitdiff
#7328
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 13 Feb 2025 18:18:56 +0000 (19:18 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 13 Feb 2025 18:18:56 +0000 (19:18 +0100)
src/CommandLine/LFTP.php

index 6978385496cc2e7b155e6a7569b9a4a395a64173..2bbe5ab7c60b3219335c301f08d4be73b4e9378c 100644 (file)
@@ -9,7 +9,7 @@ class LFTP extends CloneUserpassProgram
 {
     protected $_prog = '/usr/bin/lftp';
 
-    protected $_ftpTimeout = 15;
+    protected $_ftpTimeout = 120;
 
     /**
      * @var bool
@@ -49,7 +49,7 @@ class LFTP extends CloneUserpassProgram
         $commands = [
             'set net:reconnect-interval-base 5',
             'set net:timeout ' . $this->getFTPTimeout(),
-            'set net:max-retries 2',
+            'set net:max-retries 5',
             'set ftp:passive-mode ' . ($this->isPassiveMode() ? '1' : '0')
         ];