Skip to content
Snippets Groups Projects

Broadcast message stale cache on different Gitlab revisions

Compare and Show latest version
2 files
+ 66
14
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -24,9 +24,7 @@ def existing_cache(key)
@@ -24,9 +24,7 @@ def existing_cache(key)
override :fetch_value
override :fetch_value
def fetch_value(value)
def fetch_value(value)
return super unless value.is_a?(Hash)
value[single_strategy_key_component] if value.is_a?(Hash)
value[single_strategy_key_component]
end
end
def single_strategy_key_component
def single_strategy_key_component
Loading