Skip to content

Commit

Permalink
Update TimeoutCommand.php
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell authored Feb 12, 2024
1 parent 7778531 commit 785266c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Console/TimeoutCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public function handle()
$plan = ProvisioningPlan::get(MasterSupervisor::name())->plan;

$environment = $this->argument('environment');

$timeout = collect($plan[$this->argument('environment')] ?? [])->max('timeout') ?? 60;

$this->components->info('Maximum timeout for '.$environment.' environment: '.$timeout.' seconds.');
Expand Down

0 comments on commit 785266c

Please sign in to comment.