[Twisted-web] Single-threaded WSGIResource

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Wed Feb 3 08:42:11 EST 2010


On 01:27 pm, cristiano.paris at gmail.com wrote:
>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.

Sure.
>
>Cristiano
>
>_______________________________________________
>Twisted-web mailing list
>Twisted-web at twistedmatrix.com
>http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web



More information about the Twisted-web mailing list