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

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