diff options
author | Nick Thomas <nick@gitlab.com> | 2018-10-19 04:44:41 +0100 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2018-11-05 01:40:29 +0000 |
commit | 270155d655bec91c3ae636e158b25fdb5bd03b45 (patch) | |
tree | 2b7059d69cd3d4f1b443817daae0659562ba0fc0 /config | |
parent | f760c1cd17881c8aef3a33a3b43db54673db8111 (diff) | |
download | gitlab-ce-270155d655bec91c3ae636e158b25fdb5bd03b45.tar.gz |
Start tracking pool repositories
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/fill_shards.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/initializers/fill_shards.rb b/config/initializers/fill_shards.rb index d5071c7d556..0f45cf44621 100644 --- a/config/initializers/fill_shards.rb +++ b/config/initializers/fill_shards.rb @@ -1,3 +1,4 @@ +return unless Shard.connected? return if Gitlab::Database.read_only? Shard.populate! |