mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-22 04:25:06 +01:00
Skip Webfinger cache during migrations as well (#19883)
This commit is contained in:
parent
8c81db5a41
commit
54f0f1b9ef
@ -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…
Reference in New Issue
Block a user