Skip to content
This repository was archived by the owner on Aug 31, 2025. It is now read-only.
This repository was archived by the owner on Aug 31, 2025. It is now read-only.

Add rate limiting #518

@pixeldesu

Description

@pixeldesu

Users shouldn't be able to spam several thousands of questions in an hour or less.

I'm not sure what the proper limits should be, but for registered users it should be 1 question/1 minute. For unregistered users it should be throttling for a max amount on a timeframe, but I'm not sure which one would be the best.

As a pointer what to do here, there's a gem called rack-attack to handle this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in progressIssues with implementations in progresssuggestionSuggestion to add a new feature or improve a current one

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions