Skip to content
Snippets Groups Projects
Commit 336f0b08 authored by Yamagishi Kazutoshi's avatar Yamagishi Kazutoshi Committed by Eugen Rochko
Browse files

Remove WarmCacheService (#3527)

WarmCacheService is no longer used (removed with 5442083b ).
parent 3ea3f24a
No related branches found
No related tags found
No related merge requests found
# frozen_string_literal: true
class WarmCacheService < BaseService
def call(cacheable)
full_item = cacheable.class.where(id: cacheable.id).with_includes.first
Rails.cache.write(cacheable.cache_key, full_item)
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment