BigW Consortium Gitlab

Commit c6ae33a6 by Robert Speicher

Remove `empty_repo?` from `MEMOIZED_CACHED_METHODS`

It's only cached in 10.1 currently.
parent 87fa1b44
......@@ -36,7 +36,7 @@ class Repository
tag_count avatar exists? empty? root_ref has_visible_content?).freeze
# Methods that use cache_method but only memoize the value
MEMOIZED_CACHED_METHODS = %i(license empty_repo?).freeze
MEMOIZED_CACHED_METHODS = %i(license).freeze
# Certain method caches should be refreshed when certain types of files are
# changed. This Hash maps file types (as returned by Gitlab::FileDetector) to
......
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