You can set `EventMachine.threadpool_size` before running any threads.

There is no mechanism implemented for dynamic growth.

On Wed, Jul 6, 2016 at 10:59 PM, Arindam Mukherjee <
arindam.muker...@gmail.com> wrote:

> I noticed that if we spawn even a single deferred task using EM.defer,
> twenty additional threads get spawned by default. Is there a way to limit
> this number initially to a lower value and grow only if more deferred tasks
> are created.
>
> Thanks,
> Arindam
>
> --
> You received this message because you are subscribed to the Google Groups
> "EventMachine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to eventmachine+unsubscr...@googlegroups.com.
> To post to this group, send email to eventmachine@googlegroups.com.
> Visit this group at https://groups.google.com/group/eventmachine.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"EventMachine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to eventmachine+unsubscr...@googlegroups.com.
To post to this group, send email to eventmachine@googlegroups.com.
Visit this group at https://groups.google.com/group/eventmachine.
For more options, visit https://groups.google.com/d/optout.

Reply via email to