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:
parent
04f427bcab
commit
961441cab0
9 changed files with 159 additions and 6 deletions
7
sqitch/revert/build_background_processing_queue.sql
Normal file
7
sqitch/revert/build_background_processing_queue.sql
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
-- Revert guix-data-service:build_background_processing_queue from pg
|
||||
|
||||
BEGIN;
|
||||
|
||||
-- XXX Add DDLs here.
|
||||
|
||||
COMMIT;
|
||||
Loading…
Add table
Add a link
Reference in a new issue