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