UNPKG

actionhero

Version:

The reusable, scalable, and quick node.js API server for stateless and stateful applications

61 lines (60 loc) 1.71 kB
declare const namespace = "redis"; declare module ".." { interface ActionheroConfigInterface { [namespace]: ReturnType<(typeof DEFAULT)[typeof namespace]>; } } /** * This is the standard redis config for Actionhero. * This will use a redis server to persist cache, share chat message between processes, etc. */ export declare const DEFAULT: { redis: () => { scanCount: number; stopTimeout: number; _toExpand: boolean; client: { konstructor: any; args: { port: string | number; host: string; password: string; db: number; tls: { rejectUnauthorized: boolean; }; retryStrategy: (times: number) => number; }[]; buildNew: boolean; }; subscriber: { konstructor: any; args: { port: string | number; host: string; password: string; db: number; tls: { rejectUnauthorized: boolean; }; retryStrategy: (times: number) => number; }[]; buildNew: boolean; }; tasks: { konstructor: any; args: { port: string | number; host: string; password: string; db: number; tls: { rejectUnauthorized: boolean; }; retryStrategy: (times: number) => number; }[]; buildNew: boolean; }; }; }; export {};