When a worker fails to complete a task, the worker needs an endpoint where it can tell task-service the task has failed.
This endpoint should update the relevant Task object, specifically these attributes:
- status = "failed" or "failed_retrying"
- failed_at = datetime.datetime.utcnow()
When a worker fails to complete a task, the worker needs an endpoint where it can tell task-service the task has failed.
This endpoint should update the relevant Task object, specifically these attributes: