Encapsulate redis key usage (#34840)
This commit is contained in:
parent
a73ade526a
commit
b195956ecb
6 changed files with 54 additions and 4 deletions
|
|
@ -31,7 +31,7 @@ class MergeWorker
|
|||
FeedManager.instance.merge_into_home(@from_account, @into_account)
|
||||
end
|
||||
ensure
|
||||
redis.del("account:#{into_account_id}:regeneration")
|
||||
HomeFeed.new(@into_account).regeneration_finished!
|
||||
end
|
||||
|
||||
def merge_into_list!(into_list_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue