diff --git a/src/Commands/Concerns/InstallsRoadRunnerDependencies.php b/src/Commands/Concerns/InstallsRoadRunnerDependencies.php index 939ae4ec1..e4ebf9bb4 100644 --- a/src/Commands/Concerns/InstallsRoadRunnerDependencies.php +++ b/src/Commands/Concerns/InstallsRoadRunnerDependencies.php @@ -21,7 +21,7 @@ trait InstallsRoadRunnerDependencies * * @var string */ - protected $requiredVersion = '2023.1.1'; + protected $requiredVersion = '2023.3.0'; /** * Determine if RoadRunner is installed. diff --git a/src/Commands/Concerns/InteractsWithIO.php b/src/Commands/Concerns/InteractsWithIO.php index 59f27686e..fe6ec48c4 100644 --- a/src/Commands/Concerns/InteractsWithIO.php +++ b/src/Commands/Concerns/InteractsWithIO.php @@ -22,6 +22,7 @@ trait InteractsWithIO */ protected $ignoreMessages = [ 'destroy signal received', + 'req-resp mode', 'scan command', 'sending stop request to the worker', 'stop signal received, grace timeout is: ', @@ -32,6 +33,7 @@ trait InteractsWithIO 'worker destructed', 'worker destroyed', '[INFO] RoadRunner server started; version:', + '[INFO] sdnotify: not notified', ]; /** diff --git a/src/Commands/StartRoadRunnerCommand.php b/src/Commands/StartRoadRunnerCommand.php index 39b5872df..51af31b94 100644 --- a/src/Commands/StartRoadRunnerCommand.php +++ b/src/Commands/StartRoadRunnerCommand.php @@ -79,7 +79,7 @@ public function handle(ServerProcessInspector $inspector, ServerStateFile $serve '-c', $this->configPath(), '-o', 'version=3', '-o', 'http.address='.$this->option('host').':'.$this->getPort(), - '-o', 'server.command='.(new PhpExecutableFinder)->find().' '.base_path(config('octane.roadrunner.command', 'vendor/bin/roadrunner-worker')), + '-o', 'server.command='.(new PhpExecutableFinder)->find().','.base_path(config('octane.roadrunner.command', 'vendor/bin/roadrunner-worker')), '-o', 'http.pool.num_workers='.$this->workerCount(), '-o', 'http.pool.max_jobs='.$this->option('max-requests'), '-o', 'rpc.listen=tcp://'.$this->rpcHost().':'.$this->rpcPort(),