diff --git a/composer.json b/composer.json index a46881d..e4bc26c 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "require": { "php": "^8.1", "illuminate/support": "^10.0", - "spatie/async": "^1.5" + "spatie/async": "^1.6" }, "require-dev": { "orchestra/testbench": "^8.0", diff --git a/src/Runtime/ParentRuntime.php b/src/Runtime/ParentRuntime.php index 1969e7a..d305078 100644 --- a/src/Runtime/ParentRuntime.php +++ b/src/Runtime/ParentRuntime.php @@ -21,9 +21,9 @@ */ class ParentRuntime extends BaseParentRuntime { - public static function createProcess($task, ?int $outputLength = null, ?string $binary = 'php'): Runnable + public static function createProcess($task, ?int $outputLength = null, ?string $binary = 'php', ?int $max_input_size = 100000): Runnable { - $runnable = parent::createProcess($task, $outputLength, $binary); + $runnable = parent::createProcess($task, $outputLength, $binary, $max_input_size); if ($runnable instanceof SynchronousProcess) { return $runnable;