agola/internal/services/runservice
Simone Gotti 145c87b4c0 runservice: minimize scheduling of tasks that will be queued by the executor
Since the executor only periodically updates its state we could end up
scheduling much more tasks than the executor ActiveTasksLimit. This will happen
in the case of many parallel tasks that can all start at the same time.

To avoid this also considere the executor tasks saved in etcd that represent
the real view of scheduled tasks.
2020-02-27 11:03:03 +01:00
..
action runservice: minimize scheduling of tasks that will be queued by the executor 2020-02-27 11:03:03 +01:00
api gateway/runservice: add api to delete step logs 2019-11-18 10:34:56 +01:00
common runservice: use etcd mutex TryLock on fetching 2019-11-13 11:53:54 +01:00
readdb readdb: improve HandleEvents goroutine exiting 2019-11-12 11:03:21 +01:00
store runservice: minimize scheduling of tasks that will be queued by the executor 2020-02-27 11:03:03 +01:00
runservice.go tests: improve services logging 2020-01-15 12:30:34 +01:00
scheduler_test.go runservice: minimize scheduling of tasks that will be queued by the executor 2020-02-27 11:03:03 +01:00
scheduler.go runservice: minimize scheduling of tasks that will be queued by the executor 2020-02-27 11:03:03 +01:00