Skip to content

Commit f4117ce

Browse files
RuthgyeulCopilot
andauthored
Update src/lib/rate-limit.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 4adf188 commit f4117ce

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/lib/rate-limit.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ export function rateLimit({ interval, uniqueTokenPerInterval = 500 }: RateLimitO
1515
return {
1616
check: async (limit: number, token: string): Promise<number> => {
1717
const now = Date.now();
18-
const tokenKey = `${token}_${now}`;
1918

2019
// 이전 토큰들 정리
2120
for (const [key, value] of tokens.entries()) {

0 commit comments

Comments
 (0)