lucky icon indicating copy to clipboard operation
lucky copied to clipboard

Action based rate limiting.

Open russ opened this issue 4 months ago • 0 comments

Purpose

Adds a way to set per action rate limits. Fixes #1865

Description

Include the module and write a rate_limit method to define the limit. The rate_limit_key method can be overridden if you want differeny key logic.

Checklist

  • [X] - An issue already exists detailing the issue/or feature request that this PR fixes
  • [X] - All specs are formatted with crystal tool format spec src
  • [ ] - Inline documentation has been added and/or updated
  • [X] - Lucky builds on docker with ./script/setup
  • [X] - All builds and specs pass on docker with ./script/test

russ avatar Oct 06 '24 19:10 russ