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