method

new

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: Worker
new(max_size: 5) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actioncable/lib/action_cable/server/worker.rb, line 20
      def initialize(max_size: 5)
        @executor = Concurrent::ThreadPoolExecutor.new(
          name: "ActionCable",
          min_threads: 1,
          max_threads: max_size,
          max_queue: 0,
        )
      end
Register or log in to add new notes.