Skip to content

Commit

Permalink
Remove timeout for runserver command (#5174)
Browse files Browse the repository at this point in the history
Running the server should never time out.
  • Loading branch information
jurgenhaas authored and weitzman committed Jun 30, 2022
1 parent 4be7782 commit b751c6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Commands/core/RunserverCommands.php
Expand Up @@ -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']) {
Expand Down

0 comments on commit b751c6d

Please sign in to comment.