method
new
v8.1.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 21
def initialize(max_size: 5)
@executor = Concurrent::ThreadPoolExecutor.new(
name: "ActionCable-server",
min_threads: 1,
max_threads: max_size,
max_queue: 0,
)
end