use bucket limit in users/notes endpoint
This commit is contained in:
parent
94c4b401e6
commit
ac0172b343
1 changed files with 4 additions and 3 deletions
|
|
@ -51,10 +51,11 @@ export const meta = {
|
|||
},
|
||||
},
|
||||
|
||||
// 5 calls per second
|
||||
// Up to 20 calls, then 4/second
|
||||
limit: {
|
||||
duration: 1000,
|
||||
max: 5,
|
||||
type: 'bucket',
|
||||
size: 20,
|
||||
dripRate: 250,
|
||||
},
|
||||
} as const;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue