mirror of
https://github.com/versia-pub/server.git
synced 2026-04-27 20:59:15 +02:00
10 lines
306 B
TypeScript
10 lines
306 B
TypeScript
import { config } from "@versia-server/config";
|
|
import IORedis from "ioredis";
|
|
|
|
export const connection = new IORedis({
|
|
host: config.redis.queue.host,
|
|
port: config.redis.queue.port,
|
|
password: config.redis.queue.password,
|
|
db: config.redis.queue.database,
|
|
maxRetriesPerRequest: null,
|
|
});
|