Commit 0551364c authored by Kamil Trzciński's avatar Kamil Trzciński

Merge branch 'fix/gb/improve-autocancel-pipelines-migraton' into 'master'

Disable statement timeout in CI pipelines migration

See merge request !12268
parents 1e42253c 3ad076b7
...@@ -7,6 +7,8 @@ class EnableAutoCancelPendingPipelinesForAll < ActiveRecord::Migration ...@@ -7,6 +7,8 @@ class EnableAutoCancelPendingPipelinesForAll < ActiveRecord::Migration
DOWNTIME = false DOWNTIME = false
def up def up
disable_statement_timeout
update_column_in_batches(:projects, :auto_cancel_pending_pipelines, 1) update_column_in_batches(:projects, :auto_cancel_pending_pipelines, 1)
end end
......
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