chremoas / chremoas-ng

Work on the new complete rewrite of the Chremoas ChatBot
1 stars 0 forks source link

Delete users after a certain number of ESI/Discord not found failures #8

Open bhechinger opened 2 years ago

bhechinger commented 2 years ago

The original intention was to never delete anyone so that an ESI or Discord outage wouldn't cause the bot to nuke everyone. That's still a concern of course but there are many updates that fail with the same users who legitimately don't exist anymore.

The thought is to track not found failures and after a threshold of X failures delete the user.

bhechinger commented 2 years ago

This one is a solid maybe. After cleaning some gunk out of the DB I'm not seeing this anymore. That doesn't mean it won't potentially be an issue at some point, but for now I'm not sure it's worth the effort.