We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3889344 commit 1c11cdeCopy full SHA for 1c11cde
lib/concurrent/configuration.rb
@@ -190,8 +190,8 @@ def self.new_fast_executor(opts = {})
190
191
def self.new_io_executor(opts = {})
192
ThreadPoolExecutor.new(
193
- min_threads: [2, Concurrent.processor_count].max,
194
- max_threads: Concurrent.processor_count * 100,
+ min_threads: [2, Concurrent.processor_count].max,
+ max_threads: ThreadPoolExecutor::DEFAULT_MAX_POOL_SIZE,
195
stop_on_exit: opts.fetch(:stop_on_exit, true),
196
idletime: 60, # 1 minute
197
max_queue: 0, # unlimited
0 commit comments