rails / solid_queue

Database-backed Active Job backend
MIT License
1.88k stars 121 forks source link

Runs jobs twice for a couple of times after deployment #376

Open rctneil opened 1 week ago

rctneil commented 1 week ago

I'm getting so frustrated with this.

EVERY single time i deploy my app and schedule a job, it adds it twice. This typically happens for the first 2 - 3 scheduled jobs after a deployment.

Please help me to get this to stop.

Sooooo annoying

Screenshot 2024-10-09 at 11 57 35

and also, only does this in production. This last deploy, it keeps scheduling twice, I can't get it to only run it once. It's causing mahyem. How do I only get it to run once!?

rosa commented 1 week ago

Could you provide more details? With only those, I have no idea what's going on. Where are the jobs enqueued, how are they enqueued, what is the code that enqueues them, how does your deployment work... have you actually try to check logs to trace down where these jobs are enqueued and by what?

rctneil commented 1 week ago

I'll get further information to post. I admit my post was written with an angry state of mind so let me dig for further info and get back t you.