Replies: 1 comment 2 replies
-
GoodJob doesn't have a hierarchy between batches. Unlike Sidekiq, GoodJobs batches are mutable: jobs can be added to a batch, and batches can be created (with jobs, that are performed) before the batch is marked as In this example, wait to call I'm sorta reluctant to add hierarchy/relations between batches myself. Because GoodJob batches are mutable, it would be a lot of complex decisions to work though. And at the risk of being to candid, batches are a feature that has largely evolved from people wanting abstract or comparative solutions rather than concrete real-world scenarios that I find a lot more fun to solve for 😀 |
Beta Was this translation helpful? Give feedback.
-
Hi there, I complex workflow that has a parent batch spawning multiple batches. Is it possible to have a batch wait on another batch?
Here's a simple repro of the idea below, and based on my testing, it doesn't happen when using
GoodJob::Batch.enqueue
.Beta Was this translation helpful? Give feedback.
All reactions