[Issue#415] Remove timeout on Deploy with Tar or Rsync tasks

This commit is contained in:
Andrés Montañez 2018-03-29 18:33:40 -03:00
parent 7860fea425
commit 5fa99c68f5
3 changed files with 3 additions and 2 deletions

View file

@ -4,6 +4,7 @@ CHANGELOG for 3.X
* 3.4.0 (2018-03-29)
* [Issue#380] Throw exception if log_dir is defined but directory doesn't exists
* [BUGFIX] [Issue#405] Malformed ssh command when defining host:port notation
* [Issue#415] Remove timeout on Deploy with Tar or Rsync tasks
* 3.3.0 (2017-07-22)

View file

@ -44,7 +44,7 @@ class ReleaseTask extends AbstractTask implements ExecuteOnRollbackInterface
$cmdLinkRelease = sprintf('cd %s && ln -snf releases/%s current', $hostPath, $releaseId);
/** @var Process $process */
$process = $this->runtime->runRemoteCommand($cmdLinkRelease, false);
$process = $this->runtime->runRemoteCommand($cmdLinkRelease, false, null);
return $process->isSuccessful();
}
}

View file

@ -49,7 +49,7 @@ class RsyncTask extends AbstractTask
$cmdRsync = sprintf('rsync -e "ssh -p %d %s" %s %s %s %s@%s:%s', $sshConfig['port'], $sshConfig['flags'], $flags, $excludes, $from, $user, $host, $targetDir);
/** @var Process $process */
$process = $this->runtime->runLocalCommand($cmdRsync, 600);
$process = $this->runtime->runLocalCommand($cmdRsync, null);
return $process->isSuccessful();
}