Skip to content

Commit

Permalink
fix-host-option: Added fix for the roadrunn er command as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
elomonaco committed Sep 25, 2024
1 parent 08f26d1 commit b75193a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/StartRoadRunnerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function handle(ServerProcessInspector $inspector, ServerStateFile $serve
$roadRunnerBinary,
'-c', $this->configPath(),
'-o', 'version=3',
'-o', 'http.address='.$this->option('host').':'.$this->getPort(),
'-o', 'http.address='.$this->getHost().':'.$this->getPort(),
'-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'),
Expand Down

0 comments on commit b75193a

Please sign in to comment.