2.2.8.3 Handling Task Timeout Issues
If a task times out, review the workflow execution details to identify the timed-out task and the reason for incompletion.
To handle task timeout issues, you can take one or more of the following actions:
- Increase poll timeout if tasks are timing out before workers pick them up.
- Add or scale worker instances if poll timeouts indicate insufficient worker capacity.
- Increase response timeout if the worker needs more time before sending progress updates.
- Update the worker to send
IN_PROGRESSupdates for long-running tasks. - Increase timeout if the task legitimately needs more time to finish.
- Configure
retryCount,retryLogic, andretryDelaySecondsso transient failures can be retried. - Retry or restart the workflow after fixing the worker, timeout, or downstream service issue.
Parent topic: Handle Workflow Execution Failures