mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 22:08:00 +01:00
Updated Rector to commit 2d316449ada315992789eff3380e836adf997767
2d316449ad
[Config] Restore default values for RectorConfig->parallel() config similar to original <=0.18.x version (#5472)
This commit is contained in:
parent
76ce6b58bb
commit
e7c602cd32
@ -19,12 +19,12 @@ final class VersionResolver
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = 'aa66151ff14da601b4b155f4a876ad2a2070259c';
|
||||
public const PACKAGE_VERSION = '2d316449ada315992789eff3380e836adf997767';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2024-01-22 21:24:21';
|
||||
public const RELEASE_DATE = '2024-01-23 10:38:05';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
@ -80,11 +80,7 @@ final class RectorConfig extends Container
|
||||
{
|
||||
SimpleParameterProvider::setParameter(Option::PARALLEL, \false);
|
||||
}
|
||||
/**
|
||||
* Defaults in sync with https://phpstan.org/config-reference#parallel-processing
|
||||
* as we run PHPStan as well
|
||||
*/
|
||||
public function parallel(int $processTimeout = 120, int $maxNumberOfProcess = 32, int $jobSize = 20) : void
|
||||
public function parallel(int $processTimeout = 120, int $maxNumberOfProcess = 16, int $jobSize = 16) : void
|
||||
{
|
||||
SimpleParameterProvider::setParameter(Option::PARALLEL, \true);
|
||||
SimpleParameterProvider::setParameter(Option::PARALLEL_JOB_TIMEOUT_IN_SECONDS, $processTimeout);
|
||||
|
Loading…
x
Reference in New Issue
Block a user