I thought queues was not working

I thought queues was not working reliably because I was seeing some unprocessed rows in my database from time to time. Actually, I had a try/catch on my consumer worker so I was swallowing the errors myself haha. Turns out I was the unreliable one and queues works great 😂
2 Replies
Pranshu Maheshwari
Pranshu Maheshwari•3w ago
haha good to hear 🙂 what are you using queues for?
juanferreras
juanferrerasOP•3w ago
scheduling work to refresh stored data with an upstream API . A little wip side project, folks would add their domains and every day all domains get queued to ask Google's CrUX for the latest data (and get alerted if they've configured any alarms on any metrics) The queue seems to let me schedule ++thousands as a fire-and-forget, and lets me configure a cap on how many run at once to prevent 429s. So far, so good! This was before workflows were released but I think queue is perfect for it
Want results from more Discord servers?
Add your server