controller: try to make step timeout somewhat more accurate #3663
Labels
area/controller
help-wanted
Community help on this would be appreciated
kind/enhancement
priority/normal
size/small
Numerous discussions have taken place over the last few months re: configurability of the retry interval for step retries and timeouts, possibly not being honored.
I'll borrow my own recent explanation for the difficulty behind this from #3515:
If someone wishes to tackle this, it should only be a few lines of code right around here.
We can keep the hard coded five minutes, but shorten it by the appropriate amount if the running step's start time + timeout is sooner than now + five minutes.
Note: At this time, I'm still hesitant to apply a similar strategy for making retry intervals configurable because I think our inability to offer much precision there is more problematic than it is with timeouts. Let's, at least, consider it out of scope for this issue.
The text was updated successfully, but these errors were encountered: