Closed levibostian closed 6 years ago
Idea:
PendingTask
in runTask()
, do not delete it if it's an error. PendingTasks.addTask()
for a PendingTask
instance that in the past had an error recorded for it, simply mark the error as resolved and have it try again (also allow via a parameter to not do the default of marking an error as resolved). PendingTask
is resolved, it will be able to run the next time the task runner runs.
Use case:
PendingTask
s added to Wendy.What should we do with the remaining 2 tasks in that group?
I believe that Wendy should not delete the task. Currently, that is a good size bug that could cause issues because you're trusting with groups, they must all run in successful order from start to finish.