Closed lfse-slafleur closed 3 months ago
Orchestrator should start counting the moment the celery task starts executing. (Listen to omotes_task_events on Celery side).
If celery task isn't done at the end of the timeout, cancel the task and (if possible) wait until the task has confirmed to have stopped.
Forward the cancellation to the SDK as a TIMEOUT job status update (may need to extend omotes-sdk-protocol).
Duplicate of #39
Orchestrator should start counting the moment the celery task starts executing. (Listen to omotes_task_events on Celery side).
If celery task isn't done at the end of the timeout, cancel the task and (if possible) wait until the task has confirmed to have stopped.
Forward the cancellation to the SDK as a TIMEOUT job status update (may need to extend omotes-sdk-protocol).