summaryrefslogtreecommitdiff
path: root/config/initializers/fill_shards.rb
blob: 18e067c8854b4404beb1092f5bb744ddb3d71e14 (plain)
1
2
3
if Shard.connected? && !Gitlab::Database.read_only?
  Shard.populate!
end