Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jul 5, 2021
1 parent a4e9602 commit 00aa3b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Commands/StartCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class StartCommand extends Command implements SignalableCommandInterface
{--workers=auto : The number of workers that should be available to handle requests}
{--task-workers=auto : The number of task workers that should be available to handle tasks}
{--max-requests=500 : The number of requests to process before reloading the server}
{--config= : The path to the RoadRunner .rr.yaml file}
{--rr-config= : The path to the RoadRunner .rr.yaml file}
{--watch : Automatically reload the server when the application is modified}';

/**
Expand Down Expand Up @@ -77,7 +77,7 @@ protected function startRoadRunnerServer()
'--rpc-port' => $this->option('rpc-port'),
'--workers' => $this->option('workers'),
'--max-requests' => $this->option('max-requests'),
'--config' => $this->option('config'),
'--rr-config' => $this->option('rr-config'),
'--watch' => $this->option('watch'),
]);
}
Expand Down
4 changes: 2 additions & 2 deletions src/Commands/StartRoadRunnerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class StartRoadRunnerCommand extends Command implements SignalableCommandInterfa
{--rpc-port= : The RPC port the server should be available on}
{--workers=auto : The number of workers that should be available to handle requests}
{--max-requests=500 : The number of requests to process before reloading the server}
{--config= : The path to the RoadRunner .rr.yaml file}
{--rr-config= : The path to the RoadRunner .rr.yaml file}
{--watch : Automatically reload the server when the application is modified}';

/**
Expand Down Expand Up @@ -139,7 +139,7 @@ protected function workerCount()
*/
protected function configPath()
{
$path = $this->option('config');
$path = $this->option('rr-config');

if (! $path) {
touch(base_path('.rr.yaml'));
Expand Down

0 comments on commit 00aa3b0

Please sign in to comment.