blob: 4212e438964e0eba2e366ec7a9a5cd1109d1efef (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
# frozen_string_literal: true
class PrecomputeFeedService < BaseService
include Redisable
def call(account)
FeedManager.instance.populate_home(account)
FeedManager.instance.populate_direct_feed(account)
ensure
redis.del("account:#{account.id}:regeneration")
end
end
|