Refactor domain block checks (#11268)
This commit is contained in:
@ -53,6 +53,11 @@ RSpec.describe ResolveAccountService, type: :service do
|
||||
fail_occurred = false
|
||||
return_values = Concurrent::Array.new
|
||||
|
||||
# Preload classes that throw circular dependency errors in threads
|
||||
Account
|
||||
TagManager
|
||||
DomainBlock
|
||||
|
||||
threads = Array.new(5) do
|
||||
Thread.new do
|
||||
true while wait_for_start
|
||||
|
Reference in New Issue
Block a user