diff --git a/app/services/warm_cache_service.rb b/app/services/warm_cache_service.rb deleted file mode 100644 index 091a471ffa..0000000000 --- a/app/services/warm_cache_service.rb +++ /dev/null @@ -1,8 +0,0 @@ -# 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