1
0
Fork 0
forked from gitea/nas

Encapsulate redis key usage (#34840)

This commit is contained in:
David Roetzel 2025-05-28 14:34:37 +02:00 committed by GitHub
parent a73ade526a
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

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