From 2fbe0a6c7bc54bb54c6d2e2432487324411fbd03 Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Sun, 26 Nov 2023 19:53:13 -1000 Subject: [PATCH] Fix Redis connection --- database/datasource.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/datasource.ts b/database/datasource.ts index 59d32f7e..b2a1e23a 100644 --- a/database/datasource.ts +++ b/database/datasource.ts @@ -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, }, });