Recent versions of Twisted let you access the reactor's thread pool: from twisted. Internet import reactor threadpool = reactor.getThreadPool() threadpool. AdjustPoolsize(3, 7) However, there's no guarantee that the reactor itself won't re-adjust the size as it sees fit.
If you need to control the size of the threadpool used by your application, it may be better to create your own ThreadPool instance, rather than using the reactor's.
Thank you Paul~ I would like to know how to resize the threadpool when deploy app in the twistd way. There is no explicit to use reactor in code. – user855230 Aug 15 at 4:20 You can always import the global reactor.
– Jean-Paul Calderone Aug 15 at 17:23 Yeah, I got your idea. Import reactor, but not .run(), Right? – user855230 Aug 17 at 9:52.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.