Class | Puma::ThreadPool |
In: |
lib/puma/thread_pool.rb
|
Parent: | Object |
spawned | [R] | |
trim_requested | [R] |
Maintain a minimum of min and maximum of max threads in the pool.
The block passed is the work that will be performed in each thread.
If too many threads are in the pool, tell one to finish go ahead and exit. If force is true, then a trim request is requested even if all threads are being utilized.