File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/doc/puma-6.1.0/ri/Puma/ThreadPool/cdesc-ThreadPool.ri
U:RDoc::NormalClass[iI"ThreadPool:ETI"Puma::ThreadPool;TI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I">Internal Docs for A simple thread pool management object.;To:RDoc::Markup::BlankLine o; ;[I">Each Puma "worker" has a thread pool to process requests.;T@o; ;[ I"RFirst a connection to a client is made in `Puma::Server`. It is wrapped in a ;TI"N`Puma::Client` instance and then passed to the `Puma::Reactor` to ensure ;TI"]the whole request is buffered into memory. Once the request is ready, it is passed into ;TI"`a thread pool via the `Puma::ThreadPool#<<` operator where it is stored in a `@todo` array.;T@o; ;[I"bEach thread in the pool has an internal loop where it pulls a request from the `@todo` array ;TI"and processes it.;T:
@fileI"lib/puma/thread_pool.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[[
I"spawned;TI"R;T:publicFI"lib/puma/thread_pool.rb;T[
I"trim_requested;T@#;
F@$[
I"waiting;T@#;
F@$[U:RDoc::Constant[i I"SHUTDOWN_GRACE_TIME;TI"*Puma::ThreadPool::SHUTDOWN_GRACE_TIME;T;
0o;;[o; ;[I"BHow long, after raising the ForceShutdown of a thread during ;TI"Dforced shutdown mode, to wait for the thread to try and finish ;TI">up its work before leaving the thread to die on the vine.;T;@;0@@cRDoc::NormalClass0[ [[I"
class;T[[;
[[I"clean_thread_locals;T@$[I"new;T@$[:protected[ [:private[ [I"
instance;T[[;
[[I"backlog;T@$[I"busy_threads;T@$[I"pool_capacity;T@$[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@I" Puma;TcRDoc::NormalModule