Improved performance of notification preloading (#15640)
* Improved performance of notification preloading * Remove Cacheable from Notification * Fix test
This commit is contained in:
parent
c8c764dd8b
commit
7ab53f221a
4 changed files with 136 additions and 50 deletions
|
@ -349,10 +349,6 @@ describe ApplicationController, type: :controller do
|
|||
expect(C.new.cache_collection(raw, Object)).to eq raw
|
||||
end
|
||||
|
||||
context 'Notification' do
|
||||
include_examples 'cacheable', :notification, Notification
|
||||
end
|
||||
|
||||
context 'Status' do
|
||||
include_examples 'cacheable', :status, Status
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue