mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
fix(bigbot): Fix docker rabbitmq (#4066)
This commit is contained in:
@@ -5,7 +5,7 @@ import 'dotenv/config'
|
||||
|
||||
// General Configurations
|
||||
|
||||
export const DEVELOPMENT = process.env.DEVELOPMENT ?? false
|
||||
export const DEVELOPMENT = process.env.DEVELOPMENT === 'true'
|
||||
export const DEV_SERVER_ID = process.env.DEV_SERVER_ID
|
||||
export const DISCORD_TOKEN = assertEnv('DISCORD_TOKEN')
|
||||
|
||||
@@ -36,7 +36,7 @@ export const GATEWAY_PORT = parseNumber(assertEnv('GATEWAY_PORT'), 'GATEWAY_PORT
|
||||
|
||||
// Message queue (RabbitMQ configuration)
|
||||
|
||||
export const MESSAGEQUEUE_ENABLE = process.env.MESSAGEQUEUE_ENABLE === "true"
|
||||
export const MESSAGEQUEUE_ENABLE = process.env.MESSAGEQUEUE_ENABLE === 'true'
|
||||
|
||||
export const MESSAGEQUEUE_URL = process.env.MESSAGEQUEUE_URL
|
||||
export const MESSAGEQUEUE_USERNAME = process.env.MESSAGEQUEUE_USERNAME
|
||||
|
||||
@@ -37,7 +37,7 @@ export function createWorker(workerId: number): Worker {
|
||||
},
|
||||
workerId,
|
||||
messageQueue: {
|
||||
enabled: MESSAGEQUEUE_ENABLE === 'true',
|
||||
enabled: MESSAGEQUEUE_ENABLE,
|
||||
username: MESSAGEQUEUE_USERNAME,
|
||||
password: MESSAGEQUEUE_PASSWORD,
|
||||
url: MESSAGEQUEUE_URL,
|
||||
|
||||
Reference in New Issue
Block a user