mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
Fix Redis connection
This commit is contained in:
parent
2c82cffb58
commit
2fbe0a6c7b
|
|
@ -11,8 +11,8 @@ const client = new PrismaClient({
|
||||||
const federationQueue = new Queue("federation", {
|
const federationQueue = new Queue("federation", {
|
||||||
connection: {
|
connection: {
|
||||||
host: config.redis.queue.host,
|
host: config.redis.queue.host,
|
||||||
port: config.redis.queue.port,
|
port: Number(config.redis.queue.port),
|
||||||
password: config.redis.queue.password,
|
password: config.redis.queue.password || undefined,
|
||||||
db: config.redis.queue.database || undefined,
|
db: config.redis.queue.database || undefined,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue