Welcome to mirror list, hosted at ThFree Co, Russian Federation.

fill_shards.rb « initializers « config - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 18e067c8854b4404beb1092f5bb744ddb3d71e14 (plain)
1
2
3
if Shard.connected? && !Gitlab::Database.read_only?
  Shard.populate!
end