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 ​
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