lib/tobox/pool.rb in tobox-0.4.5 vs lib/tobox/pool.rb in tobox-0.5.0

- old
+ new

@@ -1,10 +1,10 @@ # frozen_string_literal: true module Tobox - class Pool - class KillError < Interrupt; end + class KillError < Interrupt; end + class Pool def initialize(configuration) @configuration = configuration @logger = @configuration.default_logger @num_workers = configuration[:concurrency] @workers = Array.new(@num_workers) do |idx|