Increased PHPGit timeout to 120 seconds for large repos. Retrieve Readme.md and render on plugins page.

This commit is contained in:
Andrew Manning
2016-05-03 21:49:52 -04:00
parent 2db86b950e
commit 5686ee13b4
4 changed files with 33 additions and 12 deletions

View File

@@ -33,7 +33,7 @@ class PhpProcess extends Process
* @param int $timeout The timeout in seconds
* @param array $options An array of options for proc_open
*/
public function __construct($script, $cwd = null, array $env = null, $timeout = 60, array $options = array())
public function __construct($script, $cwd = null, array $env = null, $timeout = 120, array $options = array())
{
$executableFinder = new PhpExecutableFinder();
if (false === $php = $executableFinder->find()) {