Open tlvenn opened 6 years ago
Oh yeah that would be a great addition. It should be very simple to SSCAN for queue:* and remove all of them + inprogress I think?
@tlvenn @edgurgel Can I work on this one?
Fine by me! 👍 Thanks!
About removing the queues, do you guys think would be a good idea to only remove the queues listed in the config files?
Something like: https://github.com/klebervirgilio/verk/commit/c5242a1ad452e000224cc158dfb175bbf5dd2389
I think that's good enough for now. I'm not sure how common is the use case of starting queues dynamically 👍
Hi @klebervirgilio, could you please make a PR so we can review and merge? Thanks !
@edgurgel @tlvenn before I open a PR, I was wondering, do you think is a good idea use Verk.Queue
instated of calling Redix
directly?
IMO, the good thing about it would be that Verk.Queue
is the module where knowledge about queue should live.
Hey sorry for the late reply!
I agree Do you mind adding a new function to Verk.Queue
and using it for the mix task?
Hi @klebervirgilio , any update on your progress ? Thanks in advance.
I saw this with task_bunny and I think it's pretty useful in dev