Skip to content

Documentation / @super-line/adapter-redis / RedisAdapterOptions

Interface: RedisAdapterOptions

Defined in: index.ts:5

Options for createRedisAdapter.

Properties

presenceTtlMs?

optional presenceTtlMs?: number

Defined in: index.ts:13

How long a node's liveness key lives between heartbeats (ms). A node whose key expires has its connections excluded from cluster queries. Must exceed the server's heartbeat interval. Defaults to 90_000.


url?

optional url?: string

Defined in: index.ts:7

redis:// connection URL (defaults to ioredis's default localhost:6379).

Released under the MIT License.