Boost default timeout to 5min
parent
e26f7f5ec4
commit
8ba76fe6d2
|
@ -321,7 +321,7 @@ The following options are supported:
|
|||
different directory if you want to.
|
||||
* **bin-dir:** Defaults to `vendor/bin`. If a project includes binaries, they
|
||||
will be symlinked into this directory.
|
||||
* **process-timeout:** Defaults to `60`. The duration processes like git clones
|
||||
* **process-timeout:** Defaults to `300`. The duration processes like git clones
|
||||
can run before Composer assumes they died out. You may need to make this
|
||||
higher if you have a slow connection or huge vendors.
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ class Factory
|
|||
// Configuration defaults
|
||||
$composerConfig = array(
|
||||
'vendor-dir' => 'vendor',
|
||||
'process-timeout' => 60,
|
||||
'process-timeout' => 300,
|
||||
);
|
||||
|
||||
$packageConfig = $file->read();
|
||||
|
|
|
@ -19,7 +19,7 @@ use Symfony\Component\Process\Process;
|
|||
*/
|
||||
class ProcessExecutor
|
||||
{
|
||||
static protected $timeout = 60;
|
||||
static protected $timeout = 300;
|
||||
|
||||
/**
|
||||
* runs a process on the commandline
|
||||
|
|
Loading…
Reference in New Issue