Disable statement timeout for
For GitLab.com the statement timeout is 4 minutes, which is a bit too short for the migration introduced in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8225. We have a method called disable_statement_timeout
that can be used to disable the timeout for this migration. We should use this so the migration doesn't time out.