1
0
Fork 0
forked from fedi/mastodon

Fix regression from #3672 - Do not use pipeline around zscore (#3704)

This commit is contained in:
Eugen Rochko 2017-06-12 03:11:12 +02:00 committed by GitHub
parent f8fe394e7a
commit 605e2a417c

View file

@ -33,10 +33,8 @@ class RemoveStatusService < BaseService
end
def remove_from_followers
redis.pipelined do
@account.followers.local.find_each do |follower|
unpush(:home, follower, @status)
end
@account.followers.local.find_each do |follower|
unpush(:home, follower, @status)
end
end