-
Notifications
You must be signed in to change notification settings - Fork 414
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(rate-limit): add missing limiter options in examples ref #2193
- Loading branch information
1 parent
9d78a99
commit c948c8a
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,6 +46,10 @@ const worker = new Worker( | |
}, | ||
{ | ||
connection, | ||
limiter: { | ||
max: 1, | ||
duration: 500, | ||
}, | ||
}, | ||
); | ||
``` | ||
|