diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-14 21:12:38 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-14 21:12:38 +0300 |
commit | 283c7bb302510ed1fc55f0d333c484ce7fa781fd (patch) | |
tree | adbb03e34cc91f339395f6417502c075ee84b8bb /lib/gitlab/pages | |
parent | a2b7b398c7855bccee5d2f0f9a021b2efea0838e (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/pages')
-rw-r--r-- | lib/gitlab/pages/cache_control.rb | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/gitlab/pages/cache_control.rb b/lib/gitlab/pages/cache_control.rb index a24d958b7e5..a0b3ab87f38 100644 --- a/lib/gitlab/pages/cache_control.rb +++ b/lib/gitlab/pages/cache_control.rb @@ -47,8 +47,15 @@ module Gitlab # cached settings hash to build the payload cache key to be invalidated. def clear_cache keys = cached_settings_hashes - .map { |hash| payload_cache_key_for(hash) } - .push(settings_cache_key) + .map { |hash| payload_cache_key_for(hash) } + .push(settings_cache_key) + + ::Gitlab::AppLogger.info( + message: 'clear pages cache', + keys: keys, + type: @type, + id: @id + ) Gitlab::Instrumentation::RedisClusterValidator.allow_cross_slot_commands do Rails.cache.delete_multi(keys) |