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
297
297
#
298
298
# @!visibility private
299
299
def init_synchronization
300
- raise InitializationError . new ( '#init_synchronization was already called' ) if @__async_initialized__
300
+ return self if @__async_initialized__
301
301
302
302
@__async_initialized__ = true
303
303
serializer = Concurrent ::SerializedExecution . new
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ module Concurrent
11
11
class RubyThreadPoolExecutor < RubyExecutorService
12
12
13
13
# 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
15
15
16
16
# Default minimum number of threads that will be retained in the pool.
17
17
DEFAULT_MIN_POOL_SIZE = 0
You can’t perform that action at this time.
0 commit comments