1
0
Fork 0
mirror of synced 2024-07-12 09:45:48 +12:00

Disabling SQS support in production.

This commit is contained in:
mike12345567 2024-04-04 15:27:55 +01:00
parent ce8efa9409
commit 986f8e16b0

View file

@ -28,6 +28,11 @@ import * as jsRunner from "./jsRunner"
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) {
if (!env.isTest()) {
const plugin = await bullboard.init()