about summary refs log tree commit diff
path: root/app/services/precompute_feed_service.rb
blob: 61f573534dda18ca4267e73b1da1a4f98dcc0c32 (plain) (blame)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

class PrecomputeFeedService < BaseService
  def call(account)
    FeedManager.instance.populate_home(account)
  ensure
    Redis.current.del("account:#{account.id}:regeneration")
  end
end