Skip Webfinger cache during migrations as well (#19883)

th-downstream
nightpool 2 years ago committed by GitHub
parent 9cc859808e
commit 149a8246d2

@ -58,7 +58,7 @@ class AccountMigration < ApplicationRecord
private
def set_target_account
self.target_account = ResolveAccountService.new.call(acct)
self.target_account = ResolveAccountService.new.call(acct, skip_cache: true)
rescue Webfinger::Error, HTTP::Error, OpenSSL::SSL::SSLError, Mastodon::Error
# Validation will take care of it
end

Loading…
Cancel
Save