Browse Source

Only run mastodon:push:clear on accounts that are still subscribed to

closed-social-v3
Eugen Rochko 8 years ago
parent
commit
6f7c9774c7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/tasks/mastodon.rake

+ 1
- 1
lib/tasks/mastodon.rake View File

@ -13,7 +13,7 @@ namespace :mastodon do
task clear: :environment do
include RoutingHelper
Account.remote.without_followers.find_each do |a|
Account.remote.without_followers.where.not(subscription_expires_at: nil).find_each do |a|
Rails.logger.debug "PuSH unsubscribing from #{a.acct}"
begin

Loading…
Cancel
Save