RedisCacheOptionsType
Это содержимое пока не доступно на вашем языке.
RedisCacheOptionsType =
object
Defined in: src/cache/RedisCacheOptions.ts:6
Plain options-object shape accepted by a RedisCache.
Properties
Section titled “Properties”client?
Section titled “client?”
readonlyoptionalclient?:RedisClientLike
Defined in: src/cache/RedisCacheOptions.ts:25
Pre-built ioredis client — bypass internal construction (advanced usage: connection sharing, custom retry strategies, Redis Cluster).
readonlyoptionaldb?:number
Defined in: src/cache/RedisCacheOptions.ts:15
readonlyoptionalhost?:string
Defined in: src/cache/RedisCacheOptions.ts:12
keyPrefix?
Section titled “keyPrefix?”
readonlyoptionalkeyPrefix?:string
Defined in: src/cache/RedisCacheOptions.ts:20
Optional key prefix prepended to every key. Useful when a single Redis instance is shared by multiple actor systems / environments.
password?
Section titled “password?”
readonlyoptionalpassword?:string
Defined in: src/cache/RedisCacheOptions.ts:14
readonlyoptionalport?:number
Defined in: src/cache/RedisCacheOptions.ts:13
readonlyoptionalurl?:string
Defined in: src/cache/RedisCacheOptions.ts:11
Redis URL (e.g. redis://localhost:6379) — passed straight to the
ioredis constructor. Mutually exclusive with host/port.
