vweb-redis
v3.0.3
Published
- redis 版本暂时不能升级 会导致express中的session 抛出his.client 已经关闭的错误 最高版本仅支持3.1.2
Downloads
14
Readme
- 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;
}