Skip to content

rate-limiting: abuse logging + 429 Retry-After response shape #57

Description

@disconsented

Make rate-limit rejections observable and give the UI a clean signal to surface.

Scope

  • Return 429 Too Many Requests with a Retry-After header from limited routes.
  • Shape the rejection body as something the Svelte UI can detect and surface ("you're going too fast") rather than a raw 429 page.
  • Emit a warn log including the issuer key (IP or user id) on every rejection, so repeat offenders are visible and limits can be tuned from real data.

Depends on

Parent: #50

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions