Question about StartToCloseTimeout for unpredictable task duration

Hi Everyone,

i have been learning to understand the concept of temporal, im still not clear about StartToCloseTimeout, for example, i have video encoding job, that the duration is depending to the video size based on user upload, would it be a good idea to change StartToCloseTimeout based on file size or video duration ?

Thank You

This might be the solution:

Correct, a long StartToClose timeout with a much shorter HeartbeatTimeout is the answer for long running activities with unpredictable duration.

1 Like