Updates to FanOutOnWriteService, FeedInsertWorker

• Updates:
- to FanOutOnWriteService, FeedInsertWorker
This commit is contained in:
mgabdev
2020-11-15 13:02:45 -06:00
parent 06125bf882
commit 3b13bb5087
2 changed files with 2 additions and 64 deletions

View File

@@ -10,9 +10,6 @@ class FeedInsertWorker
case @type
when :home
@follower = Account.find(id)
when :list
@list = List.find(id)
@follower = @list.account
end
check_and_insert
@@ -36,8 +33,6 @@ class FeedInsertWorker
case @type
when :home
FeedManager.instance.push_to_home(@follower, @status)
when :list
FeedManager.instance.push_to_list(@list, @status)
end
end
end