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

More frequent rate limiter cleanup #4240

Merged
merged 4 commits into from
Dec 12, 2023
Merged

Conversation

dullbananas
Copy link
Collaborator

Might fix #3183

@Nutomic
Copy link
Member

Nutomic commented Dec 11, 2023

I think its unlikely that this will help. According to @dessalines lemmy.ml crashes once a day, so the cleanup job already runs 24 times during that duration. The only way this could cause OOM would be if there are lots of requests from different IPs within one hour which seems unlikely.

That said, lots of requests from different IPs is the pattern of a DDoS, so a more frequent cleanup makes sense to avoid any vulnerability there.

@dessalines dessalines enabled auto-merge (squash) December 11, 2023 14:30
@dessalines dessalines merged commit 3e23939 into LemmyNet:main Dec 12, 2023
1 check passed
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.

[Bug]: Memory leak
3 participants