mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 16:38:19 +01:00
11 lines
319 B
TypeScript
11 lines
319 B
TypeScript
import IORedis from "ioredis";
|
|
import { config } from "~/packages/config-manager/index.ts";
|
|
|
|
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,
|
|
});
|