logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

precompute_feed_service.rb (211B)


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