amici-ursi / ImagesOfNetwork

Tools for managing the ImagesOfNetwork on reddit
MIT License
7 stars 9 forks source link

get the blacklists more often #78

Open amici-ursi opened 8 years ago

amici-ursi commented 8 years ago

the blacklist is pulled when the bot starts up. we should fetch it on a schedule (every n minutes), or when a new user is added.

SmithsonianDSP commented 8 years ago

Since the blacklist_requests entrypoint runs independently of the bot, I think it makes the most sense to have it periodically update itself every n minutes.

We may want to expand this to include subreddit wiki blacklists and whitelists, as well.

amici-ursi commented 8 years ago

if this turns out to be a huge pain in the ass, i think i can schedule a bot reboot every 24 hours with cron.