Skip to content

Commit

Permalink
temporary disable 429 status code
Browse files Browse the repository at this point in the history
  • Loading branch information
pH-7 committed Jun 2, 2024
1 parent 81f991b commit 35308c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/searchEndpointServerHook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ export function searchEndpointServerHook<
try {
await rateLimiter.consume(token);
} catch (error) {
response.statusCode = 429;
response.end("Too many requests.");
// response.statusCode = 429;
// response.end("Too many requests.");
return;
}

Expand Down

0 comments on commit 35308c3

Please sign in to comment.