-
-
Notifications
You must be signed in to change notification settings - Fork 750
Deferred moderative action #393
Copy link
Copy link
Closed
Labels
a: APIRelated to or causes API changesRelated to or causes API changesp: 3 - lowLow PriorityLow Prioritys: staleHas had no activity for a whileHas had no activity for a whilet: featureNew feature or requestNew feature or request
Metadata
Metadata
Assignees
Labels
a: APIRelated to or causes API changesRelated to or causes API changesp: 3 - lowLow PriorityLow Prioritys: staleHas had no activity for a whileHas had no activity for a whilet: featureNew feature or requestNew feature or request
Type
Fields
Give feedbackNo fields configured for issues without a type.
Currently, if the API goes down, moderation goes down.
In an ideal world, we'd like to allow moderation to continue even if the API is down. This could be achieved either by giving the bot direct access to our database, or by deferring the moderative actions until such a time as a connection can be re-established.
I believe the latter option may be the better option, because it would work even if the database was down, too. The database is hosted on the same server as the API and the bot (PyDis Alpha). If that server goes down, we plan to spin up another bot instance on PyDis Bravo. If this bot could simply send over all the moderation actions once the server comes back up, then we wouldn't need database replication to PyDis Bravo (as long as we have off-site backups).
Feel free to use this issue to discuss the best approach. I don't think this is urgent (because it's a fairly unlikely edge case and we can still ban people manually), but it's something to consider for the future.