diff options
author | Christopher Baines <mail@cbaines.net> | 2019-10-02 21:54:11 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2019-10-02 21:54:11 +0100 |
commit | 427063c812e77885e5728aa5a8f4ee27f11bd2b0 (patch) | |
tree | cc91414d9cdb8803352f36490db299ca4e1264e6 /sqitch/verify/add_retry_value_to_job_event_enum.sql | |
parent | e00aabde4388c014778475966da2b7021dfef560 (diff) | |
download | data-service-427063c812e77885e5728aa5a8f4ee27f11bd2b0.tar data-service-427063c812e77885e5728aa5a8f4ee27f11bd2b0.tar.gz |
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.
Diffstat (limited to 'sqitch/verify/add_retry_value_to_job_event_enum.sql')
-rw-r--r-- | sqitch/verify/add_retry_value_to_job_event_enum.sql | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sqitch/verify/add_retry_value_to_job_event_enum.sql b/sqitch/verify/add_retry_value_to_job_event_enum.sql new file mode 100644 index 0000000..907334d --- /dev/null +++ b/sqitch/verify/add_retry_value_to_job_event_enum.sql @@ -0,0 +1,7 @@ +-- Verify guix-data-service:add_retry_value_to_job_event_enum on pg + +BEGIN; + +-- XXX Add verifications here. + +ROLLBACK; |