Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

269 B
Raw Blame
import { RedisOptions } from 'ioredis'

const TCP_KEEP_ALIVE_MS = 5_000
const SOCKET_TIMEOUT_MS = 30_000

export const baseRedisOptions: Partial<RedisOptions> = {
    maxRetriesPerRequest: null,
    keepAlive: TCP_KEEP_ALIVE_MS,
    socketTimeout: SOCKET_TIMEOUT_MS,
}