Interface IRedisCacheConfig

Hierarchy

  • ICacheConfig
    • IRedisCacheConfig

Properties

clear?: boolean

Remove all existing entries in the cache

injector: InjectorFunction
namespaceRoot: string

Namespace root that prefixes all elements of the cache

redis: RedisClientOptions<RedisModules, RedisFunctions, RedisScripts>

Connection parameters for the underlying https://redis.js.org/ library

transactionCacheDuration?: number

Duration in seconds to persist transaction information in the redis cache after last interaction.

Default

172800 (48hrs)

type: "redis"

Generated using TypeDoc