setGitProcessTimeout() public method

Changes the timeout of {@link \Symfony\Component\Process\Process}
public setGitProcessTimeout ( integer $gitProcessTimeout )
$gitProcessTimeout integer
 private function adjustGitProcessTimeout()
 {
     $maxExecutionTime = intval(ini_get('max_execution_time'));
     if ($maxExecutionTime === 0) {
         $this->repository->setGitProcessTimeout(0);
         return;
     }
     $currentTime = microtime(true);
     $alreadyConsumedTime = $currentTime - $this->executionStartTime;
     $remainingTime = $maxExecutionTime - $alreadyConsumedTime;
     $this->checkTimeout();
     $processTimeout = $remainingTime - self::TIME_FOR_ABORTION;
     $this->repository->setGitProcessTimeout($processTimeout);
 }