removes unnecessary log from last commit

This commit is contained in:
nai-degen 2024-08-27 23:58:32 -05:00
parent 0c448cb59d
commit ee61f9be2b
1 changed files with 0 additions and 1 deletions

View File

@ -108,7 +108,6 @@ export const ipLimiter = async (
res.set("X-RateLimit-Reset", reset.toString()); res.set("X-RateLimit-Reset", reset.toString());
const retryAfterTime = getRetryAfter(rateLimitKey, type); const retryAfterTime = getRetryAfter(rateLimitKey, type);
req.log.debug({ retryAfterTime }, "Retry-After header");
if (retryAfterTime > 0) { if (retryAfterTime > 0) {
const waitSec = Math.ceil(retryAfterTime).toString(); const waitSec = Math.ceil(retryAfterTime).toString();
res.set("Retry-After", waitSec); res.set("Retry-After", waitSec);