vweb-redis
TypeScript icon, indicating that this package has built-in type declarations

3.0.3 • Public • Published
  • redis 版本暂时不能升级 会导致express中的session 抛出his.client 已经关闭的错误 最高版本仅支持3.1.2

配置信息

RedisConfig
{
    /**
     * 存储空间 即存储key前缀
     */
    namespace: string;
    host: string;
    port: number;
    /**
     * Complete Redis URL (overrides host and port)
     */
    url: string;
    /**
     * Max clients alive in the connection pool at once. (default: 30)
     */
    max_clients: number;
    /**
     * Perform a series of redis checks, currently this checks to to see if blocking push/pops can be used. (default: false)
     */
    perform_checks: boolean;
    password: string;
    /**
     *  if you prefer a specific database number for this pool, you can specify that here (default: 0)
     */
    database: number;
    options: any;
}

Readme

Keywords

none

Package Sidebar

Install

npm i vweb-redis

Weekly Downloads

1

Version

3.0.3

License

ISC

Unpacked Size

122 kB

Total Files

36

Last publish

Collaborators

  • xiye