This is the timeline "algorithm" for @glue aka chronological sort 🤓 Next Drop for details...
drops = Drop.where('user_id IN (?)', followers)
       .where('status = 0 or status = 3')
       .order('id DESC')
       .limit(250)
       .pluck(:id)
1
0
Replies
This code pulls Drops for our main datastore into our cache service (Redis) which timelines are served from 'Status' tells it not to pull any Drops which have been deleted, but not yet purged by our background purge queue Timelines are 'seeded' with up to 250 Drops sorted by ID aka time
0
0