From 785266c9f49c436fce96d0820857f124e1f57ed5 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 12 Feb 2024 12:32:45 -0600 Subject: [PATCH] Update TimeoutCommand.php --- src/Console/TimeoutCommand.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Console/TimeoutCommand.php b/src/Console/TimeoutCommand.php index f9a872f6..f9173d47 100644 --- a/src/Console/TimeoutCommand.php +++ b/src/Console/TimeoutCommand.php @@ -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.');