From efbebfae4a9834f149deca7eec0586c5d8e95a6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Haas?= Date: Thu, 30 Jun 2022 08:05:05 +0200 Subject: [PATCH] Remove timeout for runserver command Running the server should never time out. --- src/Commands/core/RunserverCommands.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Commands/core/RunserverCommands.php b/src/Commands/core/RunserverCommands.php index 693f26b5c2..36d209c410 100644 --- a/src/Commands/core/RunserverCommands.php +++ b/src/Commands/core/RunserverCommands.php @@ -75,6 +75,7 @@ public function runserver($uri = null, $options = ['default-server' => self::REQ $router = Path::join(DRUSH_BASE_PATH, '/misc/d8-rs-router.php'); $php = $this->getConfig()->get('php', 'php'); $process = $this->processManager()->process([$php, '-S', $addr . ':' . $uri['port'], $router]); + $process->setTimeout(null); $process->setWorkingDirectory(Drush::bootstrapManager()->getRoot()); $process->setTty(Tty::isTtySupported()); if ($options['quiet']) {