From 8143b1d7686edab450cca4c69a8189a57da2be1d Mon Sep 17 00:00:00 2001 From: DubbleClick Date: Tue, 29 Apr 2025 13:08:29 +0700 Subject: [PATCH] fix 60s timeout --- src/SPC/command/CraftCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SPC/command/CraftCommand.php b/src/SPC/command/CraftCommand.php index d25bfd04..746b680d 100644 --- a/src/SPC/command/CraftCommand.php +++ b/src/SPC/command/CraftCommand.php @@ -143,7 +143,7 @@ class CraftCommand extends BaseCommand } $prefix = PHP_SAPI === 'cli' ? [PHP_BINARY, $argv[0]] : [$argv[0]]; - $process = new Process([...$prefix, $cmd, '--no-motd', ...$args]); + $process = new Process([...$prefix, $cmd, '--no-motd', ...$args], timeout: null); $this->log("Running: {$process->getCommandLine()}", true); if (PHP_OS_FAMILY === 'Windows') {