You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I must be doing something wrong. When a task within a chain fails, the next one is still queued. Not the behavior I was expecting since tasks depend on successful previous tasks in my situation.
I am wondering if that's how it's supposed to be, since no one else seems to have this issue?
I may have answered my own question. I am going to close this issue and do some more testing on my side.
For anyone reading: seems the sync option (I saw it in the docs but I was left to believe it was just for testing) and a container for my chains would work.
The current structure I am testing is
# class ChainList(list):
# def run(self):
# for ch in self:
# ch.run()
chl = ChainList()
...
ch = Chain(sync=True)
...
ch.append(...)
...
chl.append(ch)
...
# finally
chl.run()
I must be doing something wrong. When a task within a chain fails, the next one is still queued. Not the behavior I was expecting since tasks depend on successful previous tasks in my situation.
I am wondering if that's how it's supposed to be, since no one else seems to have this issue?
I have this configuration
The tasks are created and run using
The text was updated successfully, but these errors were encountered: