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

Chrome throttles requests when reddit returns multiple 500s in quick succession #891

Open
eritbh opened this issue Feb 22, 2024 · 0 comments
Labels
bug something isn't working module: commentnuke performance performance improvement/etc

Comments

@eritbh
Copy link
Member

eritbh commented Feb 22, 2024

When sending multiple requests in quick succession (e.g. as part of comment nuke or when performing other bulk actions), if multiple 5xx requests are returned by Reddit in a certain amount of time, Chromium will stop delivering requests to Reddit to prevent malicious extensions from performing DDOS attacks. https://www.chromium.org/throttling/

It seems like sometimes Reddit will just randomly throw 5xx's when doing comment nuke, and this throttling behavior prevents the "retry" button from working immediately since the retried requests are never delivered.

Unsure if this is something we can actually do anything about from the extension - stop trying to send bulk requests if we receive a 5xx and enforce our own cooldown? unsure how much effort is warranted for working around this behavior

https://discord.com/channels/535490452066009090/535490561478492161/1166939781582819339

@eritbh eritbh added bug something isn't working performance performance improvement/etc module: commentnuke labels Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something isn't working module: commentnuke performance performance improvement/etc
Projects
Status: Todo
Development

No branches or pull requests

1 participant