Method: ActiveSupport::Testing::Parallelization::Server#initialize

Defined in:
activesupport/lib/active_support/testing/parallelization/server.rb

#initializeServer

Returns a new instance of Server.



12
13
14
15
16
# File 'activesupport/lib/active_support/testing/parallelization/server.rb', line 12

def initialize
  @queue = Queue.new
  @active_workers = Concurrent::Map.new
  @in_flight = Concurrent::Map.new
end