Merge remote-tracking branch 'parent/main' into kbtopic-remove-quote
This commit is contained in:
commit
c538c23ef7
141 changed files with 1552 additions and 779 deletions
|
@ -49,7 +49,7 @@ class FollowService < BaseService
|
|||
private
|
||||
|
||||
def mark_home_feed_as_partial!
|
||||
redis.set("account:#{@source_account.id}:regeneration", true, nx: true, ex: 1.day.seconds)
|
||||
HomeFeed.new(@source_account).regeneration_in_progress!
|
||||
end
|
||||
|
||||
def following_not_possible?
|
||||
|
|
|
@ -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