Refactor domain block checks (#11268)
This commit is contained in:
parent
1e7187f2a8
commit
4e92183227
11 changed files with 108 additions and 51 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue