Lint pass (#8876)
This commit is contained in:
parent
928102284a
commit
1f98eae1cf
56 changed files with 55 additions and 79 deletions
|
@ -28,7 +28,7 @@ class FixReblogsInFeeds < ActiveRecord::Migration[5.1]
|
|||
|
||||
-- So, first, we iterate over the user's feed to find any reblogs.
|
||||
local items = redis.call('zrange', timeline_key, 0, -1, 'withscores')
|
||||
|
||||
|
||||
for i = 1, #items, 2 do
|
||||
local reblogged_id = items[i]
|
||||
local reblogging_id = items[i + 1]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue