about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/services/warm_cache_service.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/services/warm_cache_service.rb b/app/services/warm_cache_service.rb
deleted file mode 100644
index 091a471ff..000000000
--- 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