Allowing SQS in production environments so that feature branches can run using it.
This commit is contained in:
parent
b23ff260f1
commit
bc896f6544
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue