add db utils

This commit is contained in:
Alex Holliday committed 2025-01-22 08:29:38 -08:00
1 parent 9a8ce41c95
commit 9ffe17e9eb
6 files changed
+61 -11

No files matched your search

+3
View File
@@ -74,6 +74,8 @@ import MongoDB from "./db/mongo/MongoDB.js";
import IORedis from "ioredis";
import seedDb from "./db/mongo/utils/seedDb.js";
const SERVICE_NAME = "Server";
const SHUTDOWN_TIMEOUT = 1000;
let isShuttingDown = false;
@@ -262,6 +264,7 @@ const startApp = async () => {
);
// Init job queue
await jobQueue.initJobQueue();
// await seedDb();
// Middleware
app.use(
cors()