method

new

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 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 19
      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.