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

Add failure rate limit for sends #60

Closed
wants to merge 1 commit into from
Closed

Add failure rate limit for sends #60

wants to merge 1 commit into from

Conversation

Nutomic
Copy link
Member

@Nutomic Nutomic commented Jul 3, 2023

If there are more than 10 failures in the last hour while sending to a specific domain, dont do any further sends. This should help a lot with excessive load due to sending to dead instances, along with LemmyNet/lemmy#3427

Needs a lot of cleanup.

@Nutomic
Copy link
Member Author

Nutomic commented Jul 10, 2023

Blocked by boinkor-net/governor#146. Looks like no other Rust crate supports such functionality, and I would rather not implement rate limit on my own.

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