mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-09-18 04:28:47 +08:00
updated log
This commit is contained in:
parent
e731c9c0cc
commit
918f09d522
1 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ export const rootRateLimiter = rateLimit({
|
|||
handler: (_req, _res, _next, _options): void => {
|
||||
throw new MonkeyError(
|
||||
429,
|
||||
"Maximum API request limit reached. Please try again later."
|
||||
"Maximum API request (root) limit reached. Please try again later."
|
||||
);
|
||||
},
|
||||
});
|
||||
|
@ -279,7 +279,7 @@ export const userGet = rateLimit({
|
|||
export const userSignup = rateLimit({
|
||||
windowMs: 24 * ONE_HOUR_MS, // 1 day
|
||||
max: 3 * REQUEST_MULTIPLIER,
|
||||
keyGenerator: getKeyWithUid,
|
||||
keyGenerator: getKey,
|
||||
handler: customHandler,
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue