Make it easier to retry jobs

Add a new event 'retry', and run jobs where the number of retry events is
greater or equal to the number of failure events.

Also add an index to the git_branches table to make the finding jobs query a
bit faster.
This commit is contained in:
Christopher Baines 2019-10-02 21:54:11 +01:00
parent e00aabde43
commit 427063c812
5 changed files with 26 additions and 3 deletions

View file

@ -0,0 +1,7 @@
-- Revert guix-data-service:add_retry_value_to_job_event_enum from pg
BEGIN;
-- XXX Add DDLs here.
COMMIT;