Skip to content

Commit

Permalink
Fix Redis connection
Browse files Browse the repository at this point in the history
  • Loading branch information
CPlusPatch committed Nov 27, 2023
1 parent 2c82cff commit 2fbe0a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions database/datasource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
});
Expand Down

0 comments on commit 2fbe0a6

Please sign in to comment.