diff options
author | Kurtis Rainbolt-Greene <kurtis@rainbolt-greene.online> | 2017-04-04 20:38:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-04 20:38:07 -0700 |
commit | dc5704b0b0c8f5a58ff95d3f3c4055929c6ecfba (patch) | |
tree | 864a721690d7cdaf34a4882190f2a1516de329ee /app/lib | |
parent | 96ef9338208e09cbc52a49a3d7171d877eab3c43 (diff) |
This method isn't used anymore
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/feed_manager.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/lib/feed_manager.rb b/app/lib/feed_manager.rb index 075f86c2d..6698c78a5 100644 --- a/app/lib/feed_manager.rb +++ b/app/lib/feed_manager.rb @@ -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) |