Fix Redis connection

This commit is contained in:
Jesse Wierzbinski 2023-11-26 19:53:13 -10:00
parent 2c82cffb58
commit 2fbe0a6c7b
No known key found for this signature in database

View file

@ -11,8 +11,8 @@ const client = new PrismaClient({
const federationQueue = new Queue("federation", {
connection: {
host: config.redis.queue.host,
port: config.redis.queue.port,
password: config.redis.queue.password,
port: Number(config.redis.queue.port),
password: config.redis.queue.password || undefined,
db: config.redis.queue.database || undefined,
},
});