[Twisted-Python] Changing threadpool size in reactor

Glyph Lefkowitz glyph at twistedmatrix.com
Thu Aug 6 14:53:45 MDT 2009


On Thu, Aug 6, 2009 at 2:12 PM, Darren Govoni <darren at ontrenet.com> wrote:

> Hi,
>  I could see from the docs I read how to increase the allotted threads
> in the reactor.
>
> I use reactor.callInThread(....) and it seems to max out at 10. I read
> about ThreadPool class, but need to run mine in the reactor.
>

The reactor has a similar API:
http://twistedmatrix.com/documents/8.2.0/api/twisted.internet.interfaces.IReactorThreads.html#suggestThreadPoolSize
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20090806/09ddfaa0/attachment-0001.html>


More information about the Twisted-Python mailing list