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

Reply limit per submission #13

Open
kevinlul opened this issue May 1, 2023 · 0 comments
Open

Reply limit per submission #13

kevinlul opened this issue May 1, 2023 · 0 comments

Comments

@kevinlul
Copy link
Contributor

kevinlul commented May 1, 2023

Bastion replies to comments and mentions a limited number of times per submission to prevent abuse, resetting when rebooted. This is not ideal for megathreads but is necessary to prevent more complex looping and abuse.

This limit could be enforced per top-level comment instead, but finding the top-level comment for a deeply-nested comment may be quite expensive: https://praw.readthedocs.io/en/stable/code_overview/models/comment.html#praw.models.Comment.parent
Could also consider ignoring deeply-nested comments if enforcing limit by top-level comment.

This is an open issue for what the limit should be (currently 10) or if alternative approaches are sufficient to prevent abuse.

@kevinlul kevinlul pinned this issue Sep 2, 2023
@kevinlul kevinlul unpinned this issue Apr 12, 2024
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

No branches or pull requests

1 participant