user factory method

This commit is contained in:
Alex Holliday committed 2025-05-19 11:23:26 -07:00
1 parent 9414b87e27
commit fd1edf9651
1 file changed
+6 -1
+6 -1
View File
@@ -191,7 +191,12 @@ const startApp = async () => {
statusService,
notificationService,
});
const jobQueue = new JobQueue({ db, jobQueueHelper, logger, stringService });
const jobQueue = await JobQueue.create({
db,
jobQueueHelper,
logger,
stringService,
});
// Register services
ServiceRegistry.register(JobQueue.SERVICE_NAME, jobQueue);