Read about our upcoming Code of Conduct on this issue

Commit b94d200b authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Disable statement timeout when removing redundant stages

parent bbffda6ce092
......@@ -38,6 +38,8 @@ def add_unique_index!
end
def remove_redundant_pipeline_stages!
disable_statement_timeout
redundant_stages_ids = <<~SQL
SELECT id FROM ci_stages WHERE (pipeline_id, name) IN (
SELECT pipeline_id, name FROM ci_stages
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment