noodlebox / betterdiscord-plugins

Assorted small plugins for BetterDiscord
MIT License
87 stars 125 forks source link

Mark All Read: Handles network issues poorly #13

Closed noodlebox closed 2 years ago

noodlebox commented 7 years ago

Servers are not immediately cleared of the "unread" status. This is delayed until the response to a successful ack. Until received, the plugin will naively repeat its attempt to process a server, indefinitely in the case of an outage.

Should detect and handle failure if possible, or at least maintain enough state information to avoid repeat processing of servers. This would also prevent endless processing in the case of multiple servers that become unread again during processing.