Skip to content

Commit 271d8d9

Browse files
committed
"num_threads" should be "overflow_policy" as the former is unused
1 parent 140faa9 commit 271d8d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/concurrent/executor/ruby_cached_thread_pool.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def initialize(opts = {})
1919
opts = opts.merge(
2020
min_threads: 0,
2121
max_threads: DEFAULT_MAX_POOL_SIZE,
22-
num_threads: overflow_policy,
22+
overflow_policy: overflow_policy,
2323
max_queue: DEFAULT_MAX_QUEUE_SIZE,
2424
idletime: DEFAULT_THREAD_IDLETIMEOUT
2525
)

0 commit comments

Comments
 (0)