fix rate limit errors from get-online-users-count
This commit is contained in:
parent
516a65b8c1
commit
30c8e8a1a8
1 changed files with 4 additions and 3 deletions
|
|
@ -28,10 +28,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
Add a link
Reference in a new issue