rails / solid_queue

Database-backed Active Job backend
MIT License
1.95k stars 130 forks source link

Recurring schedule is not deleting removed tasks #359

Closed majkelcc closed 1 month ago

majkelcc commented 1 month ago

Tasks deleted from config/schedule.yml are not being removed from the schedule.

rosa commented 1 month ago

Hey @majkelcc, is this https://github.com/rails/solid_queue/issues/310, or are actually deleted tasks still being run?

majkelcc commented 1 month ago

Hi @rosa, that's it! All makes sense when dealing with multiple dispatchers. After dealing with the other issues around recurring configuration I forgot to scan previous issues for this. Maybe it's worth it to add a note in README on how this works currently?

rosa commented 1 month ago

I'm going to change it so that a single scheduler is allowed to simplify things, so yes, I'll add a note in the README about it and will also delete previous tasks.