Allowing SQS in production environments so that feature branches can run using it.

This commit is contained in:
mike12345567 2024-05-28 15:58:25 +01:00
parent b23ff260f1
commit bc896f6544
1 changed files with 0 additions and 5 deletions

View File

@ -28,11 +28,6 @@ import fs from "fs"
let STARTUP_RAN = false let STARTUP_RAN = false
if (env.isProd() && env.SQS_SEARCH_ENABLE) {
console.error("Stopping service - SQS search support is not yet available.")
process.exit(-1)
}
async function initRoutes(app: Koa) { async function initRoutes(app: Koa) {
if (!env.isTest()) { if (!env.isTest()) {
const plugin = await bullboard.init() const plugin = await bullboard.init()