refactor(gp connect): gp connect as was added to long live services
This commit is contained in:
@@ -4,6 +4,7 @@ import createApp from "./app.js";
|
|||||||
import { db } from "./db/db.controller.js";
|
import { db } from "./db/db.controller.js";
|
||||||
import { dbCleanup } from "./db/dbCleanup.controller.js";
|
import { dbCleanup } from "./db/dbCleanup.controller.js";
|
||||||
import { type Setting, settings } from "./db/schema/settings.schema.js";
|
import { type Setting, settings } from "./db/schema/settings.schema.js";
|
||||||
|
import { connectGPSql } from "./gpSql/gpSqlConnection.controller.js";
|
||||||
import { createLogger } from "./logger/logger.controller.js";
|
import { createLogger } from "./logger/logger.controller.js";
|
||||||
import { startNotifications } from "./notification/notification.controller.js";
|
import { startNotifications } from "./notification/notification.controller.js";
|
||||||
import { createNotifications } from "./notification/notifications.master.js";
|
import { createNotifications } from "./notification/notifications.master.js";
|
||||||
@@ -28,6 +29,7 @@ const start = async () => {
|
|||||||
|
|
||||||
// triggering long lived processes
|
// triggering long lived processes
|
||||||
connectProdSql();
|
connectProdSql();
|
||||||
|
connectGPSql();
|
||||||
|
|
||||||
// trigger startup processes these must run before anything else can run
|
// trigger startup processes these must run before anything else can run
|
||||||
await baseSettingValidationCheck();
|
await baseSettingValidationCheck();
|
||||||
|
|||||||
Reference in New Issue
Block a user