about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-07-15 14:04:48 -0500
committermultiple creatures <dev@multiple-creature.party>2019-07-15 14:12:24 -0500
commit4f3618f7be733bda507bfa0188bdd884ab3d1ce7 (patch)
tree40620790b066c8e4a18b5b5cb0e8220a3cf7951f /app/lib
parent2bbc06de5c94d2742057a66294da72f658e3f377 (diff)
drop home feed & boost dedup window sizes to save resources
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/feed_manager.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/lib/feed_manager.rb b/app/lib/feed_manager.rb
index 73d6d4f65..a58b9bf7a 100644
--- a/app/lib/feed_manager.rb
+++ b/app/lib/feed_manager.rb
@@ -6,10 +6,10 @@ class FeedManager
   include Singleton
   include Redisable
 
-  MAX_ITEMS = 3333
+  MAX_ITEMS = 1666
 
   # Must be <= MAX_ITEMS or the tracking sets will grow forever
-  REBLOG_FALLOFF = 333
+  REBLOG_FALLOFF = 200
 
   def key(type, id, subtype = nil)
     return "feed:#{type}:#{id}" unless subtype