BigW Consortium Gitlab

Commit 269bc745 by Z.J. van de Weg

Disable timeout while removing services

On GitLab.com this migration could take about 3 minutes. Disabling the statement we know we have enough time to complete this. Fixes #25976
parent 796b5b57
...@@ -4,6 +4,8 @@ class RemoveUnneededServices < ActiveRecord::Migration ...@@ -4,6 +4,8 @@ class RemoveUnneededServices < ActiveRecord::Migration
DOWNTIME = false DOWNTIME = false
def up def up
disable_statement_timeout
execute("DELETE FROM services WHERE active = false AND properties = '{}';") execute("DELETE FROM services WHERE active = false AND properties = '{}';")
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