drop home feed & boost dedup window sizes to save resources

staging
multiple creatures 2019-07-15 14:04:48 -05:00
parent 2bbc06de5c
commit 4f3618f7be
1 changed files with 2 additions and 2 deletions

View File

@ -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