Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rate limit system #3

Merged
merged 6 commits into from
Feb 26, 2024
Merged

Rate limit system #3

merged 6 commits into from
Feb 26, 2024

Conversation

cristianchaparroa
Copy link
Owner

@cristianchaparroa cristianchaparroa commented Feb 26, 2024

Description

The following PR creates a Notification Rate limit system according to the following rules:

  • Status: not more than 2 per minute for each recipient
  • News: not more than 1 per day for each recipient
  • Marketing: not more than 3 per hour for each recipient

It could be extensible to other rules.

Additionals:

  • Update golangci-lint
  • Configure depguard

@cristianchaparroa cristianchaparroa merged commit fe0d470 into main Feb 26, 2024
2 checks passed
@cristianchaparroa cristianchaparroa deleted the rate-limit branch February 26, 2024 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant