Skip to content

Commit b1c4a45

Browse files
committed
Increase delpoyment timeout to 15 minutes
CloudFront deploys with rollbacks can take 10 minutes (cherry picked from commit 007d648)
1 parent 13fc878 commit b1c4a45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Commands/Deploy.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ protected function execute(InputInterface $input, OutputInterface $output): int
131131

132132
$startTime = time();
133133

134-
// Timeout after 10 minutes
135-
while (time() - $startTime < 600) {
134+
// Timeout after 15 minutes
135+
while (time() - $startTime < 15 * 60) {
136136
$deployment = $brefCloud->getDeployment($deploymentId);
137137
if ($deployment['status'] === 'success') {
138138
IO::spinSuccess($deployment['message']);

0 commit comments

Comments
 (0)