precompute_feed_service.rb 233 B

1234567891011
  1. # frozen_string_literal: true
  2. class PrecomputeFeedService < BaseService
  3. include Redisable
  4. def call(account)
  5. FeedManager.instance.populate_home(account)
  6. ensure
  7. redis.del("account:#{account.id}:regeneration")
  8. end
  9. end