Skip to content
Snippets Groups Projects
Commit dc5704b0 authored by Kurtis Rainbolt-Greene's avatar Kurtis Rainbolt-Greene Committed by GitHub
Browse files

This method isn't used anymore

parent 96ef9338
No related branches found
No related tags found
No related merge requests found
......@@ -37,11 +37,6 @@ class FeedManager
PushUpdateWorker.perform_async(timeline_type, account.id, status.id)
end
def broadcast(timeline_id, options = {})
options[:queued_at] = (Time.now.to_f * 1000.0).to_i
ActionCable.server.broadcast("timeline:#{timeline_id}", options)
end
def trim(type, account_id)
return unless redis.zcard(key(type, account_id)) > FeedManager::MAX_ITEMS
last = redis.zrevrange(key(type, account_id), FeedManager::MAX_ITEMS - 1, FeedManager::MAX_ITEMS - 1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment