You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
225 B

  1. # frozen_string_literal: true
  2. class HomeFeed < Feed
  3. def initialize(account)
  4. @account = account
  5. super(:home, account.id)
  6. end
  7. def regenerating?
  8. redis.exists?("account:#{@account.id}:regeneration")
  9. end
  10. end