Skip to content

Commit 966c7db

Browse files
authored
docs(security): add community storage provider redis
1 parent b369245 commit 966c7db

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/security/rate-limiting.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,4 +146,6 @@ This is doable, as long as `ThrottlerConfigService` implements the interface `Th
146146

147147
The built in storage is an in memory cache that keeps track of the requests made until they have passed the TTL set by the global options. You can drop in your own storage option to the `storage` option of the `ThrottlerModule` so long as the class implements the `ThrottlerStorage` interface.
148148

149+
For distributed servers you could use the community storage provider for [Redis](https://github.com/kkoomen/nestjs-throttler-storage-redis) to have a single source of truth.
150+
149151
> info **Note** `ThrottlerStorage` can be imported from `@nestjs/throttler`.

0 commit comments

Comments
 (0)