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.
7 lines
110 B
PL/PgSQL
7 lines
110 B
PL/PgSQL
-- Revert guix-data-service:build_background_processing_queue from pg
|
|
|
|
BEGIN;
|
|
|
|
-- XXX Add DDLs here.
|
|
|
|
COMMIT;
|