Method: Thread::Pool#auto_trim!
- Defined in:
- lib/thread/pool.rb
#auto_trim! ⇒ Object
Enable auto trimming, unneeded threads will be deleted until the minimum is reached.
151 152 153 |
# File 'lib/thread/pool.rb', line 151 def auto_trim! @auto_trim = true end |