Sfoglia il codice sorgente

Fix cull tripping on nil in last_webfingered_at (#9051)

Fix #8741
master
Eugen Rochko 5 anni fa
committed by GitHub
parent
commit
f5b8bd4392
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      lib/mastodon/accounts_cli.rb

+ 1
- 1
lib/mastodon/accounts_cli.rb Vedi File

@@ -223,7 +223,7 @@ module Mastodon
dry_run = options[:dry_run] ? ' (DRY RUN)' : ''

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)
begin


Caricamento…
Annulla
Salva