diff --git a/app/lib/mammoth/status_origin.rb b/app/lib/mammoth/status_origin.rb index 3d8fb2e20..97d2b620a 100644 --- a/app/lib/mammoth/status_origin.rb +++ b/app/lib/mammoth/status_origin.rb @@ -71,7 +71,6 @@ def reset(acct) return nil unless username && domain list_key = key("#{username}@#{domain}") - Rails.logger.info "DELETEING KEY>>>>>> \n\n\n\n #{list_key}" redis.keys("#{list_key}*").each { |key| redis.del(key) } end diff --git a/app/lib/personal_for_you.rb b/app/lib/personal_for_you.rb index 834a7cea1..47dcaf847 100644 --- a/app/lib/personal_for_you.rb +++ b/app/lib/personal_for_you.rb @@ -179,7 +179,7 @@ def mammoth_channels def reset(username) reset_feed(username) StatusOrigin.instance.reset(username) - end + end # Remove personal timeline this will remove all entries in user's personal for you feed # Current behavior is to default to 'public' mammoth curated feed if user's personal feed is blank 8/16/2023 diff --git a/app/workers/update_for_you_worker.rb b/app/workers/update_for_you_worker.rb index 40dfe0853..6a0cc7925 100644 --- a/app/workers/update_for_you_worker.rb +++ b/app/workers/update_for_you_worker.rb @@ -33,7 +33,7 @@ def perform(opts) end # If rebuild is true, Zero Out User's for you feed - @personal.reset_feed(@user[:acct]) if opts['rebuild'] + @personal.reset(@user[:acct]) if opts['rebuild'] @statuses = filter_statuses!