Antoine Pitrou <pit...@free.fr> added the comment:

> If each worker thread ties up other resources in an application, such as 
> handles to server connections, conserving threads could have a significant 
> impact.

You may want to implement a pooling mechanism for those connections, 
independent of the thread pool.  It is also probably more flexible (you can 
implement whichever caching and lifetime logic benefits your application).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue24882>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to