misc: addressed e2e failure

This commit is contained in:
Sheen Capadngan
2025-10-28 23:20:18 +08:00
parent 9d61b06eec
commit 8c9a683468

View File

@@ -83,7 +83,7 @@ export default {
await queue.initialize();
const server = await main({
const { server, completeServerInitialization } = await main({
db,
smtp,
logger,
@@ -96,6 +96,8 @@ export default {
envConfig: envCfg
});
await completeServerInitialization();
markServerReady();
await bootstrapCheck({ db });