method

new

Importance_0
v5.0.0.1 - 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 17
      def initialize(max_size: 5)
        @executor = Concurrent::ThreadPoolExecutor.new(
          min_threads: 1,
          max_threads: max_size,
          max_queue: 0,
        )
      end
Register or log in to add new notes.