Feat: manage failing tasks in scheduler

This commit is contained in:
2022-04-13 15:20:34 +02:00
parent b455ef23c4
commit fe18dc4ef1
3 changed files with 48 additions and 20 deletions

View File

@@ -8,6 +8,6 @@ def success_worker(args, deps, output):
return Message(0, [f"SUCCESS - {args} - {deps} - {output}"], [])
def fail_worker():
def fail_worker(args, deps, output):
return Message(1, [f"FAILURE - {args} - {deps} - {output}"], [])