Skip to content

Improve rate limiting configuration and scope#94

Merged
kilo-code-bot[bot] merged 1 commit into
mainfrom
gt/toast/c9322b6b
Jun 6, 2026
Merged

Improve rate limiting configuration and scope#94
kilo-code-bot[bot] merged 1 commit into
mainfrom
gt/toast/c9322b6b

Conversation

@kilo-code-bot

@kilo-code-bot kilo-code-bot Bot commented Jun 6, 2026

Copy link
Copy Markdown

Summary

  • Add and helper functions for safer environment variable parsing
  • Move rate limiter from global middleware to route-specific middleware (only applies to /api/ routes)
  • Simplify rate limit error message

Changes

  • Safer parsing of , , and skip options
  • Rate limiting now only applies to API routes, not to Swagger docs or other endpoints
  • Cleaner error message without potentially confusing rate limit details

@kilo-code-bot kilo-code-bot Bot merged commit 013b279 into main Jun 6, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants