garm/database/sql
Gabriel Adrian Samfira a36d01afd5 Cache jobs in pool manager
This change caches jobs meant for an entity in the pool manager. This
allows us to avoid querying the db as much and allows us to better determine
when we should scale down.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-10-05 00:49:41 +03:00
..
common_test.go Add copyright header 2025-05-20 09:43:29 +00:00
controller.go Switch to fmt.Errorf 2025-08-16 22:19:05 +00:00
controller_test.go Add db scaleset tests 2025-05-03 22:29:41 +00:00
enterprise.go Switch to fmt.Errorf 2025-08-16 22:19:05 +00:00
enterprise_test.go Fix double creation of pools 2025-08-25 16:12:01 +00:00
gitea.go Add the ability to set tools download source (Gitea) 2025-09-26 18:59:15 +03:00
gitea_test.go Switch to fmt.Errorf 2025-08-16 22:19:05 +00:00
github.go Switch to fmt.Errorf 2025-08-16 22:19:05 +00:00
github_test.go Switch to fmt.Errorf 2025-08-16 22:19:05 +00:00
instances.go Cache jobs in pool manager 2025-10-05 00:49:41 +03:00
instances_test.go Cache jobs in pool manager 2025-10-05 00:49:41 +03:00
jobs.go Fix erroneous calls to Job related functions 2025-08-21 18:57:42 +00:00
models.go Add the ability to set tools download source (Gitea) 2025-09-26 18:59:15 +03:00
organizations.go Switch to fmt.Errorf 2025-08-16 22:19:05 +00:00
organizations_test.go Fix double creation of pools 2025-08-25 16:12:01 +00:00
pools.go Add runner install template management (#525) 2025-09-23 13:46:27 +03:00
pools_test.go Cache jobs in pool manager 2025-10-05 00:49:41 +03:00
repositories.go Switch to fmt.Errorf 2025-08-16 22:19:05 +00:00
repositories_test.go Fix double creation of pools 2025-08-25 16:12:01 +00:00
scaleset_instances.go Cache improvements, db list improvements, cleanup 2025-09-09 20:52:01 +00:00
scalesets.go Add runner install template management (#525) 2025-09-23 13:46:27 +03:00
scalesets_test.go Add copyright header 2025-05-20 09:43:29 +00:00
sql.go Cache jobs in pool manager 2025-10-05 00:49:41 +03:00
templates.go Add runner install template management (#525) 2025-09-23 13:46:27 +03:00
templates_test.go Add runner install template management (#525) 2025-09-23 13:46:27 +03:00
users.go Switch to fmt.Errorf 2025-08-16 22:19:05 +00:00
users_test.go Switch to fmt.Errorf 2025-08-16 22:19:05 +00:00
util.go Add the ability to set tools download source (Gitea) 2025-09-26 18:59:15 +03:00