summaryrefslogtreecommitdiff
path: root/lib/gitlab/data_builder/push.rb
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2017-08-18 14:52:11 +0200
committerYorick Peterse <yorickpeterse@gmail.com>2017-08-21 17:58:37 +0200
commite0b589f16166a88d18e58fbc154e0cf165732acb (patch)
tree4e329dd6f9ebe75a13d5a2985962042b9390b514 /lib/gitlab/data_builder/push.rb
parent646aae3e4f0f9c547397fdf55cc2205b0171b565 (diff)
downloadgitlab-ce-fix-broadcast-message-caching.tar.gz
Fix caching of future broadcast messagesfix-broadcast-message-caching
This changes the caching mechanism so we cache both current _and_ future broadcast messages, then manually filter out those we don't want to display. This ensures we don't need any additional queries while still being able to display the right messages at the right time. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/36661
Diffstat (limited to 'lib/gitlab/data_builder/push.rb')
0 files changed, 0 insertions, 0 deletions