RedisClient

module:cache. RedisClient

Cache client based on Redis server using https://github.com/NodeRedis/node_redis3

Constructor

new RedisClient(options)

Source:
Parameters:
Name Type Description
options object
Properties
Name Type Attributes Description
tls bolean | int | object <optional>

will use TLS to connect to Redis servers, this is required for RedisCache Serverless

Example
cache-redis=redis://host1
cache-redis-options-enable_offline_queue=1000
cache-redis=redis://host1?bk-visibilityTimeout=30000&bk-count=2