Reliably perform the background processing for build events

Insert the build ids to a table and remove the ids once processed. If the data
service is restarted and the in memory queue is lost, process all the items
from the database queue.
This commit is contained in:
Christopher Baines 2025-05-14 15:30:07 +01:00
parent 04f427bcab
commit 961441cab0
9 changed files with 159 additions and 6 deletions

View file

@ -100,3 +100,4 @@ git_repositories_poll_interval 2023-10-08T20:36:09Z Chris <chris@felis> # Add gi
git_repositories_job_priority 2024-03-07T09:39:27Z Chris <chris@felis> # Add git_repositories.job_priority
build_server_build_id_index 2024-09-07T17:42:28Z Chris <chris@felis> # Add index on builds.build_server_build_id
alter_build_servers_id_default 2024-12-15T20:48:51Z Chris <chris@fang> # Alter build_servers id default
build_background_processing_queue 2025-05-14T14:18:14Z Chris <chris@fang> # Add build_background_processing_queue