method
new
v5.0.0.1 -
Show latest stable
- Class:
ActionCable::Server::Worker
new(max_size: 5)public
No documentation available.
# File actioncable/lib/action_cable/server/worker.rb, line 17
def initialize(max_size: 5)
@executor = Concurrent::ThreadPoolExecutor.new(
min_threads: 1,
max_threads: max_size,
max_queue: 0,
)
end