mirror of
https://github.com/kikobar/mastodon.git
synced 2024-12-27 08:14:25 +00:00
parent
c7e9f9ff1e
commit
f5b8bd4392
|
@ -223,7 +223,7 @@ module Mastodon
|
||||||
dry_run = options[:dry_run] ? ' (DRY RUN)' : ''
|
dry_run = options[:dry_run] ? ' (DRY RUN)' : ''
|
||||||
|
|
||||||
Account.remote.where(protocol: :activitypub).partitioned.find_each do |account|
|
Account.remote.where(protocol: :activitypub).partitioned.find_each do |account|
|
||||||
next if account.updated_at >= skip_threshold || account.last_webfingered_at >= skip_threshold
|
next if account.updated_at >= skip_threshold || (account.last_webfingered_at.present? && account.last_webfingered_at >= skip_threshold)
|
||||||
|
|
||||||
unless dead_servers.include?(account.domain)
|
unless dead_servers.include?(account.domain)
|
||||||
begin
|
begin
|
||||||
|
|
Loading…
Reference in a new issue