Remove emails from send queue?

I had Discourse running for several months without emails working. This was fine for the time, but now I’m trying to get emails working and there’s a huge backlog of unsent messages. I’m using SES and I’m about to take my SES account out of “sandbox” mode with Amazon.

I want to prevent a big spike of old emails from being sent, though. I can see from various logs that Discourse is trying to send a TON of emails (which luckily are still being rejected by Amazon). Can I get a magic query or something to make Discourse to chill out and stop worrying about the old emails?

2 Likes

I think there is a way to do this from the Ruby command line @zogstrip?

I would flush (:toilet:) redis with

# ssh into your server
cd /var/discourse
./launcher enter app
redis-cli flushall
3 Likes

Super. Seems to have settled everything down. Thanks! :slight_smile:

2 Likes