mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 16:59:41 +00:00
Add pagination by max_id instead of offset/limit
This commit is contained in:
@@ -14,7 +14,7 @@ class PrecomputeFeedService < BaseService
|
||||
private
|
||||
|
||||
def push(type, receiver_id, status)
|
||||
redis.zadd(key(type, receiver_id), status.created_at.to_i, status.id)
|
||||
redis.zadd(key(type, receiver_id), status.id, status.id)
|
||||
end
|
||||
|
||||
def home(account)
|
||||
|
||||
Reference in New Issue
Block a user