about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-06-12 03:11:12 +0200
committerGitHub <noreply@github.com>2017-06-12 03:11:12 +0200
commit605e2a417c0757046671265e35a431a5ae97c0c4 (patch)
tree7948e0b28e2c9c5c249d850f47fde693b8ccf554
parentf8fe394e7a03edacb06c336b3990d6e488336361 (diff)
Fix regression from #3672 - Do not use pipeline around zscore (#3704)
-rw-r--r--app/services/remove_status_service.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/services/remove_status_service.rb b/app/services/remove_status_service.rb
index 920774156..a5281f586 100644
--- a/app/services/remove_status_service.rb
+++ b/app/services/remove_status_service.rb
@@ -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