]> cat aescling's git repositories - mastodon.git/commitdiff
Fix regression from #3672 - Do not use pipeline around zscore (#3704)
authorEugen Rochko <eugen@zeonfederated.com>
Mon, 12 Jun 2017 01:11:12 +0000 (03:11 +0200)
committerGitHub <noreply@github.com>
Mon, 12 Jun 2017 01:11:12 +0000 (03:11 +0200)
app/services/remove_status_service.rb

index 9207741561560515520c4b35d0be68e966496547..a5281f5869d28e91f62bedf0c123118c850b4907 100644 (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