Include proper invocation for non-job tasks with error callback

This commit is contained in:
Matthew Jones
2014-03-10 17:00:35 -04:00
parent 85b6aa2262
commit d269dc1ecc
2 changed files with 3 additions and 18 deletions

View File

@@ -183,7 +183,7 @@ def process_graph(graph, task_capacity):
if impact <= remaining_volume or running_impact == 0:
dependent_nodes = [{'type': graph.get_node_type(n), 'id': n.id} for n in graph.get_dependents()]
error_handler = handle_work_error.s(subtasks=dependent_nodes)
node_obj.start(error_callback=error_handler)
start_status = node_obj.start(error_callback=error_handler)
remaining_volume -= impact
running_impact += impact