debian-mirror-gitlab/config/initializers/fill_shards.rb

4 lines
74 B
Ruby
Raw Normal View History

2018-12-13 13:39:08 +05:30
if Shard.connected? && !Gitlab::Database.read_only?
Shard.populate!
end