mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-08-20 10:03:38 +00:00
relax rate limit on /users endpoint
This commit is contained in:
parent
2d04c76260
commit
d1682ee7cc
1 changed files with 4 additions and 3 deletions
|
@ -25,10 +25,11 @@ export const meta = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
// 2 calls per second
|
// 20 calls, then 4 per second
|
||||||
limit: {
|
limit: {
|
||||||
duration: 1000,
|
type: 'bucket',
|
||||||
max: 2,
|
size: 20,
|
||||||
|
dripRate: 250,
|
||||||
},
|
},
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue