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
end
def repository_storages
@repository_storage ||= storages_paths.keys
storages_paths.keys
end
def storages_paths
@storage_paths ||= Gitlab.config.repositories.storages
Gitlab.config.repositories.storages
end
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