Fix: Docker Healthcheck is not happy during migration (#5258)

This commit is contained in:
Louis Lam 2024-10-27 13:22:23 +08:00 committed by GitHub
parent 7d8dc55dbe
commit 46d8744fa4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 114 additions and 6 deletions

View file

@ -1716,7 +1716,7 @@ async function initDatabase(testMode = false) {
log.info("server", "Connected to the database");
// Patch the database
await Database.patch();
await Database.patch(port, hostname);
let jwtSecretBean = await R.findOne("setting", " `key` = ? ", [
"jwtSecret",