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

class PrecomputeFeedService < BaseService
  include Redisable

  def call(account)
    FeedManager.instance.populate_home(account)
  ensure
    redis.del("account:#{account.id}:regeneration")
  end
end