Skip to content

Commit

Permalink
Remove deprecated auto_terminate option
Browse files Browse the repository at this point in the history
```
WARN -- Concurrent::CachedThreadPool: [DEPRECATED] Method #auto_terminate= has no effect. Set :auto_terminate option when executor is initialized.
```
  • Loading branch information
itkrt2y committed Dec 20, 2023
1 parent 9e8d9b4 commit 9b158fe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/rukawa/context.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ def initialize(concurrency = nil)
@concurrency = concurrency || Rukawa.config.concurrency
@store = Concurrent::Hash.new
@executor = Concurrent::CachedThreadPool.new
@executor.auto_terminate = true
@semaphore = Concurrent::Semaphore.new(@concurrency)
end

Expand Down

0 comments on commit 9b158fe

Please sign in to comment.