Skip Webfinger cache during migrations as well (#19883)

lolsob-rspec
nightpool 2022-11-06 21:31:38 -05:00 committed by GitHub
parent 9cc859808e
commit 149a8246d2
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class AccountMigration < ApplicationRecord
private private
def set_target_account 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 rescue Webfinger::Error, HTTP::Error, OpenSSL::SSL::SSLError, Mastodon::Error
# Validation will take care of it # Validation will take care of it
end end