Skip to content

Discuss: ratelimits on /swap_pixel #92

@vcokltfre

Description

@vcokltfre

An endpoint that is being heavily considered is /swap_pixel which would let you swap 2 pixels within a 10-pixel radius of each other. This could be used for dragging nearby pixels into an image or taking them from someone else's image. What we need to figure out is what we should use for the rate limit for this endpoint.

Current suggestions include:

  • 1 per 45 seconds (highly unlikely, will explain further down*)
  • 1 per 10 minutes

*Bear in mind the destructive factor of an endpoint like this for taking away from things other people have made, for this reason, it's likely preferable to have a longer ratelimit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: discussionThis needs to be discussed before it's implemented

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions