garm/runner
Gabriel Adrian Samfira 43d2fd8c2d
Add grace period to scale-down
Add a grace period for idle runners of 5 minutes. A new idle runner will
not be taken into consideration for scale-down unless it's older than 5
minutes. This should prevent situations where the scaleDown() routine
that runs every minute will evaluate candidates for reaping and
erroneously count the new one as well. The in_progress hooks that
transitiones an idle runner to "active" may arive a long while after the
"queued" hook has spun up a runner.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2023-02-07 13:36:15 +02:00
..
common Move pool type in params 2023-01-20 17:08:15 +02:00
mocks Don't save runner registration tolen in DB 2022-12-06 19:48:00 +00:00
pool Add grace period to scale-down 2023-02-07 13:36:15 +02:00
providers Fixed a bunch of linting issues 2023-01-20 22:21:22 +02:00
enterprises.go Fixed a bunch of linting issues 2023-01-20 22:21:22 +02:00
enterprises_test.go Add extra specs on pools 2023-01-30 13:10:21 +00:00
interfaces.go Add enterprise support 2022-10-21 17:14:03 +03:00
organizations.go Fixed a bunch of linting issues 2023-01-20 22:21:22 +02:00
organizations_test.go Add extra specs on pools 2023-01-30 13:10:21 +00:00
pools.go feat: add prometheus metrics & endpoint 2023-01-26 14:15:16 +01:00
repositories.go Fixed a bunch of linting issues 2023-01-20 22:21:22 +02:00
repositories_test.go Add extra specs on pools 2023-01-30 13:10:21 +00:00
runner.go Remove caches, retry fetching the hostname 2023-01-29 16:03:20 +02:00
types.go Add enterprise support 2022-10-21 17:14:03 +03:00