Commit b3544dfe authored by Douwe Maan's avatar Douwe Maan

Merge branch 'bvl-transient-failure-health-controller-spec' into 'master'

Don't memoize storage configuration on `FsShardsCheck`

Closes #38140

See merge request gitlab-org/gitlab-ce!14419
parents 6c026c36 eb63889f
...@@ -58,11 +58,11 @@ module Gitlab ...@@ -58,11 +58,11 @@ module Gitlab
end end
def repository_storages def repository_storages
@repository_storage ||= storages_paths.keys storages_paths.keys
end end
def storages_paths def storages_paths
@storage_paths ||= Gitlab.config.repositories.storages Gitlab.config.repositories.storages
end end
def exec_with_timeout(cmd_args, *args, &block) def exec_with_timeout(cmd_args, *args, &block)
......
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