[Twisted-web] Single-threaded WSGIResource

Cristiano Paris cristiano.paris at gmail.com
Wed Feb 3 08:27:58 EST 2010


On Wed, Feb 3, 2010 at 2:21 PM,  <exarkun at twistedmatrix.com> wrote:
> ...
> I disagree.  The fact that a threadpool is used is part of the public
> interface.  The public WSGIResource class accepts a threadpool as an
> argument to its initializer.  The threadpool interface itself is public.
>
> Basically, this is a parameter you're supposed to be passing in, and you're
> supposed to have it configured in a way which is appropriate for your
> application.

Ok, but you need to provide all the methods because you are not
supposed to know which methods WSGIResource is going to use.

Cristiano



More information about the Twisted-web mailing list