From 323671a653e22704f0d50be13d67bf6fe6ee3a2a Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Wed, 12 Apr 2017 09:58:08 -0400 Subject: Silence more scope order warnings (#1604) --- app/services/after_block_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/services/after_block_service.rb') diff --git a/app/services/after_block_service.rb b/app/services/after_block_service.rb index 0f478bcb7..d1a846f21 100644 --- a/app/services/after_block_service.rb +++ b/app/services/after_block_service.rb @@ -12,7 +12,7 @@ class AfterBlockService < BaseService home_key = FeedManager.instance.key(:home, account.id) redis.pipelined do - target_account.statuses.select('id').find_each do |status| + target_account.statuses.select('id').reorder(nil).find_each do |status| redis.zrem(home_key, status.id) end end -- cgit