removes unnecessary log from last commit
This commit is contained in:
parent
0c448cb59d
commit
ee61f9be2b
|
@ -108,7 +108,6 @@ export const ipLimiter = async (
|
|||
res.set("X-RateLimit-Reset", reset.toString());
|
||||
|
||||
const retryAfterTime = getRetryAfter(rateLimitKey, type);
|
||||
req.log.debug({ retryAfterTime }, "Retry-After header");
|
||||
if (retryAfterTime > 0) {
|
||||
const waitSec = Math.ceil(retryAfterTime).toString();
|
||||
res.set("Retry-After", waitSec);
|
||||
|
|
Loading…
Reference in New Issue