Skip to content
On this page

Directus Cloud

Everything you need to start building. Provisioned in 90 seconds. Starting at $15/month.

Get Started

This is an auto-generated document to support extension builders understand the internal packages they can utilize. To find our written guides, tutorials, and API/SDK reference, check out our main docs .

Directus / @directus/memory / index / LimiterConfigRedis

Interface: LimiterConfigRedis ​

Extends ​

Properties ​

duration ​

duration: number

Inherited from ​

LimiterConfigAbstract.duration

Defined in ​

packages/memory/src/limiter/types/config.ts:12


namespace ​

namespace: string

Used to prefix the keys in Redis

Defined in ​

packages/memory/src/limiter/types/config.ts:26


points ​

points: number

Inherited from ​

LimiterConfigAbstract.points

Defined in ​

packages/memory/src/limiter/types/config.ts:13


redis ​

redis: Redis

Existing or new Redis connection to use with this memory class

Defined in ​

packages/memory/src/limiter/types/config.ts:31


type ​

type: "redis"

Where the limit consumption is tracked

local - Local memory. Only intended for single-process instances. redis - Redis instance

Overrides ​

LimiterConfigAbstract.type

Defined in ​

packages/memory/src/limiter/types/config.ts:21