diff --git a/app/RSpade/Commands/Migrate/Migrate_Begin_Command.php b/app/RSpade/Commands/Migrate/Migrate_Begin_Command.php index 481f65b7d..4a1498802 100755 --- a/app/RSpade/Commands/Migrate/Migrate_Begin_Command.php +++ b/app/RSpade/Commands/Migrate/Migrate_Begin_Command.php @@ -161,7 +161,7 @@ class Migrate_Begin_Command extends Command */ protected function wait_for_mysql_ready(): void { - $max_attempts = 30; + $max_attempts = 120; $attempt = 0; while ($attempt < $max_attempts) { @@ -176,6 +176,6 @@ class Migrate_Begin_Command extends Command $attempt++; } - throw new \Exception('MySQL did not start within 30 seconds'); + throw new \Exception('MySQL did not start within 120 seconds'); } } \ No newline at end of file diff --git a/app/RSpade/Commands/Migrate/Migrate_Rollback_Command.php b/app/RSpade/Commands/Migrate/Migrate_Rollback_Command.php index 51e84d8fa..7ab1d2648 100755 --- a/app/RSpade/Commands/Migrate/Migrate_Rollback_Command.php +++ b/app/RSpade/Commands/Migrate/Migrate_Rollback_Command.php @@ -106,7 +106,7 @@ class Migrate_Rollback_Command extends Command */ protected function wait_for_mysql_ready(): void { - $max_attempts = 30; + $max_attempts = 120; $attempt = 0; while ($attempt < $max_attempts) { @@ -121,6 +121,6 @@ class Migrate_Rollback_Command extends Command $attempt++; } - throw new \Exception('MySQL did not start within 30 seconds'); + throw new \Exception('MySQL did not start within 120 seconds'); } } \ No newline at end of file