Refactor feed manager (#14761)
This commit is contained in:
parent
169f9105ef
commit
65760f59df
9 changed files with 236 additions and 124 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
class PrecomputeFeedService < BaseService
|
||||
def call(account)
|
||||
FeedManager.instance.populate_feed(account)
|
||||
FeedManager.instance.populate_home(account)
|
||||
ensure
|
||||
Redis.current.del("account:#{account.id}:regeneration")
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue