about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorAkihiko Odaki (@fn_aki@pawoo.net) <akihiko.odaki.4i@stu.hosei.ac.jp>2017-06-28 21:50:23 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-06-28 14:50:23 +0200
commit7d8e3721aea71315b0ef8e66cdc2ede0fe6ffc2a (patch)
tree20dbe2a273fd8ffa22d9e85d3bc9e5de81a89c01 /app
parentfb421a1f46d956e62d27d0227e6853c709f2c88e (diff)
Overwrite old statuses with reblogs in PrecomputeFeedService (#3984)
Diffstat (limited to 'app')
-rw-r--r--app/services/precompute_feed_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/precompute_feed_service.rb b/app/services/precompute_feed_service.rb
index 83765bb05..4c24567c8 100644
--- a/app/services/precompute_feed_service.rb
+++ b/app/services/precompute_feed_service.rb
@@ -14,7 +14,7 @@ class PrecomputeFeedService < BaseService
 
   def populate_feed
     redis.pipelined do
-      statuses.each do |status|
+      statuses.reverse_each do |status|
         process_status(status)
       end