Encapsulate redis key usage (#34840)

This commit is contained in:
David Roetzel 2025-05-28 14:34:37 +02:00 committed by GitHub
commit b195956ecb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 54 additions and 4 deletions

View file

@ -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)