Interface: RedisStorageConfig
Defined in: nestlens.config.ts:444
Redis storage configuration
Properties
commandTimeout?
optionalcommandTimeout:number
Defined in: nestlens.config.ts:465
Command timeout in milliseconds. Default: 5000
db?
optionaldb:number
Defined in: nestlens.config.ts:459
Redis database number. Default: 0.
Decides the database whether or not url is given — it is written into the
URL, which is the one place ioredis reads it from. Give NestLens one of its
own: keyPrefix keeps the keys distinct from the application's, and a
FLUSHDB or an allkeys-lru eviction policy does not care about prefixes.
host?
optionalhost:string
Defined in: nestlens.config.ts:446
Redis host. Default: 'localhost'
keyPrefix?
optionalkeyPrefix:string
Defined in: nestlens.config.ts:461
Key prefix for all NestLens keys. Default: 'nestlens:'
maxEntries?
optionalmaxEntries:number
Defined in: nestlens.config.ts:467
Set by the factory from storage.maxEntries; not configured here.
password?
optionalpassword:string
Defined in: nestlens.config.ts:450
Redis password
port?
optionalport:number
Defined in: nestlens.config.ts:448
Redis port. Default: 6379
url?
optionalurl:string
Defined in: nestlens.config.ts:463
Redis connection URL (overrides host, port and password if provided)