Skip to content

Commit a144d22

Browse files
Update content/security/rate-limiting.md
1 parent d0aa035 commit a144d22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/security/rate-limiting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export class WsThrottlerGuard extends ThrottlerGuard {
118118
```
119119
> info **Hint** If you using ws, it is necessary to replace the `_socket` with `conn`
120120
121-
There are some things to take keep in mind when working with websockets:
121+
There's a few things to keep in mind when working with WebSockets:
122122

123123
- You cannot bind the guard with `APP_GUARD` or `app.useGlobalGuards()` due to how Nest binds global guards.
124124
- When a limit is reached, Nest will emit an `exception` event, so make sure there is a listener ready for this.

0 commit comments

Comments
 (0)