Skip to content

Commit

Permalink
Merge pull request #266 from keymanapp/chore/disable-ready-database-c…
Browse files Browse the repository at this point in the history
…heck

chore: disable database readiness check
  • Loading branch information
mcdurdin authored Jan 16, 2025
2 parents 1ff3a6d + 68dae6e commit cc17fac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _control/ready.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

// Test web server ready, and _common files, and vendor files ready

/* DISABLE database check because we don't need to restart this pod if database is not ready
// Test db connection. Connect fails if db is not ready
$mssql = Keyman\Site\com\keyman\api\Tools\DB\DBConnect::Connect();
Expand Down Expand Up @@ -50,6 +51,7 @@
} catch(PDOException $e) {
die('japanese_import.sql not ready: ' . $e->getMessage());
}
*/

if (!file_exists(__DIR__ . '/../.data/activeschema.txt')) {
die('/.data/activeschema.txt not ready');
Expand Down

0 comments on commit cc17fac

Please sign in to comment.