blob: 56d9d2f689759c6ef15280a03c78edae8283c4e5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
# frozen_string_literal: true
class PrecomputeFeedService < BaseService
def call(account)
FeedManager.instance.populate_home(account)
FeedManager.instance.populate_direct_feed(account)
FeedManager.instance.populate_lists(account)
ensure
Redis.current.del("account:#{account.id}:regeneration")
end
end
|