@@afomera Already using this in production today. I was literally minutes away of deploying a manual `app/temporary/some_task.rb` and running it on the console, so ... what a timing! Awesome gem. One question: it will loop through the `collection` in sequence inside a single worker in Sidekiq, correct? So the gem is no good if we want to parallelize the batch? (Sometimes, for big batches, I have a `master` worker that loops through the collection and enqueues individual jobs - there's even a sidekiq batches gem if I need to query the batch progress, but it would be great if I could use this maintenance_tasks gem for this scenario as well).
@afomera2 жыл бұрын
@@frbb20 Yeah so this doesn't work directly with Sidekiq batches, but uses job_iteration (another Shopify gem) under the hood to do basically just that. It works great for that case of looping over batches of collections. Def look into the job_iteration gem if you need something more direct
@Deanin2 жыл бұрын
This was really helpful, nice job Andrea! 🙂
@afomera2 жыл бұрын
Thank you!
@crengela2 жыл бұрын
Great job Andre!
@anthonypetruzzi1582 жыл бұрын
really cool... now only if you can schedule them
@sharvyahmed2 жыл бұрын
Great content... 👍
@AdolfoPeccin2 жыл бұрын
Awesome! Thank you!
@Roupi2 жыл бұрын
how do you add authentication?
@anthonypetruzzi1582 жыл бұрын
link to repo which I don't know why isn't in the description: github.com/Shopify/maintenance_tasks