precompute_feed_service.rb 220 B

123456789
  1. # frozen_string_literal: true
  2. class PrecomputeFeedService < BaseService
  3. def call(account)
  4. FeedManager.instance.populate_feed(account)
  5. ensure
  6. Redis.current.del("account:#{account.id}:regeneration")
  7. end
  8. end