0
0
Fork 0

Add variable delay before link verification of remote account links (#27774)

This commit is contained in:
Claire 2023-11-13 17:17:05 +01:00 committed by GitHub
parent 49ba5a9f94
commit bac9e0b55d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View file

@ -180,7 +180,7 @@ class ActivityPub::ProcessAccountService < BaseService
end
def check_links!
VerifyAccountLinksWorker.perform_async(@account.id)
VerifyAccountLinksWorker.perform_in(rand(10.minutes.to_i), @account.id)
end
def process_duplicate_accounts!