Hi Siyuan, Yes, it would be nice to limit the total number of threads; It was a minor design oversight and we do intend to fix it at some point in future (happy to take a pull request).
thanks Sree On Thu, Apr 27, 2017 at 11:54 AM, <[email protected]> wrote: > Hi all, > > I was playing with helloworld sync server example. > I found that the sync server will create as many threads as possible to > service incoming request. > there is max_poller/min_poller option to set, but it doesn't limit total > number of threads. > after reading thread_manager.cc, it looks like they only control number of > idle threads and the total number of threads is unlimited. > Is it by design or something need to fix? > > Regards, > Siyuan > > -- > You received this message because you are subscribed to the Google Groups " > grpc.io" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/grpc-io. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/grpc-io/def4223f-039e-4339-9590-17346da2a57d%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/def4223f-039e-4339-9590-17346da2a57d%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CALRi9QcL0x5-S2ufs25DSKs9-%2BLz9fD4j7PA4Y65mu%3DiNf_owA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
