forked from tangled.org/core

spindle/{config,engine}: configure a timeout for steps

WaitStep and TailStep now run in goroutines, and are tracked with a stepCtx which has a timeout attached. Once stepCtx expires, the step is killed with DestroyStep. The default timeout is set to 5m, and is configureable using SPINDLE_PIPELINES_STEP_TIMEOUT. Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>


Author anirudh.fi
Committer Tangled Date Commit Parent a14a3170
+56 -22
3 changed files
+56 -22
3 changed files