0
0
Fork 0

Fix performance of follow import (#13836)

This commit is contained in:
Takeshi Umeda 2020-06-09 17:26:58 +09:00 committed by GitHub
parent 72a7cfaa39
commit d890abfcab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 44 additions and 2 deletions

View file

@ -112,6 +112,8 @@ class ResolveAccountService < BaseService
end
def webfinger_update_due?
return false if @options[:check_delivery_availability] && !DeliveryFailureTracker.available?(@domain)
@account.nil? || ((!@options[:skip_webfinger] || @account.ostatus?) && @account.possibly_stale?)
end