reddit-moderator-toolbox icon indicating copy to clipboard operation
reddit-moderator-toolbox copied to clipboard

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

Open eritbh opened this issue 1 year ago • 0 comments

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 avatar Feb 22 '24 21:02 eritbh