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