misc: improved commnts

This commit is contained in:
Sheen Capadngan
2025-10-28 06:06:45 +08:00
parent 8214e07abd
commit d310fef792
3 changed files with 2 additions and 9 deletions
-3
View File
@@ -86,7 +86,6 @@ const run = async () => {
envConfig
});
// Setup signal handlers
// eslint-disable-next-line
process.on("SIGINT", async () => {
await server.close();
@@ -117,7 +116,6 @@ const run = async () => {
});
}
// Start listening BEFORE migrations
await server.listen({
port: envConfig.PORT,
host: envConfig.HOST
@@ -144,7 +142,6 @@ const run = async () => {
logger.info("Migrations complete. Marking server as READY...");
// Now mark server as ready - it can accept traffic
markServerReady();
logger.info("Server is ready to accept traffic");