Encapsulate redis key usage (#34840)
This commit is contained in:
parent
a73ade526a
commit
b195956ecb
6 changed files with 54 additions and 4 deletions
|
@ -12,7 +12,7 @@ class PrecomputeFeedService < BaseService
|
|||
FeedManager.instance.populate_list(list) unless skip_timeline?(:list, list.id)
|
||||
end
|
||||
ensure
|
||||
redis.del("account:#{account.id}:regeneration")
|
||||
HomeFeed.new(account).regeneration_finished!
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue