File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -297,7 +297,7 @@ def init_mutex
297297 #
298298 # @!visibility private
299299 def init_synchronization
300- raise InitializationError . new ( '#init_synchronization was already called' ) if @__async_initialized__
300+ return self if @__async_initialized__
301301
302302 @__async_initialized__ = true
303303 serializer = Concurrent ::SerializedExecution . new
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ module Concurrent
1111 class RubyThreadPoolExecutor < RubyExecutorService
1212
1313 # Default maximum number of threads that will be created in the pool.
14- DEFAULT_MAX_POOL_SIZE = 2 **15 # 32768
14+ DEFAULT_MAX_POOL_SIZE = 2 **13 # 8192
1515
1616 # Default minimum number of threads that will be retained in the pool.
1717 DEFAULT_MIN_POOL_SIZE = 0
You can’t perform that action at this time.
0 commit comments