88dbca15a3
taskUpdater will be called serially and won't block. It'll execute a goroutine for executing the task and for sending the task state to the scheduler. executeTask will just start task execution, all the logic of choosing if starting a task is moved inside taskUpdater In this way we avoid concurrency issues when handling the same executorTask in parallel |
||
---|---|---|
.. | ||
common | ||
config | ||
configstore | ||
executor | ||
gateway | ||
gitserver | ||
notification | ||
runservice | ||
scheduler | ||
types |