Leantime / leantime

Leantime is a goals focused project management system for non-project managers. Building with ADHD, Autism, and dyslexia in mind.
https://leantime.io
GNU Affero General Public License v3.0
4.23k stars 561 forks source link

Configurable rate limits and useful limit headers #2524

Closed jeppekroghitk closed 1 month ago

jeppekroghitk commented 1 month ago

Link to ticket

#1554

Description

Predefines the different rate limits in sample.env. Implements the user configurable limits from .env and adds header to response with useful information for retrying.

Screenshot of the result

N/A

Checklist

If your code does not pass the requirements on the checklist, you should add a comment explaining why this change should be exempt from the list.

Additional comments or questions

If you have any further comments or questions for the reviewer, please add them here.