Commit a44873e1 authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre

Merge branch 'zj-pg-connection-ff-gitaly' into 'master'

Allow Gitaly to work without a PG connection

Closes #34205

See merge request gitlab-org/gitlab!18659
parents 68e1d5f6 7e7fff7b
---
title: Remove required dependecy of Postgresql for Gitaly
merge_request: 18659
author:
type: other
......@@ -19,7 +19,7 @@ class Feature
default_on = DEFAULT_ON_FLAGS.include?(feature_flag)
Feature.enabled?("gitaly_#{feature_flag}", default_enabled: default_on)
rescue ActiveRecord::NoDatabaseError
rescue ActiveRecord::NoDatabaseError, PG::ConnectionBad
false
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