On Thu, Dec 17 2015, Amber "Hawkie" Brown wrote:
>
> > On 17 Dec 2015, at 08:11, Kevin Mcintyre wrote:
> >
> > Hey - I'm confused, so nothing new :) ...but I'm running at this
> > example and I'm scratching my head.
> >
> > http://twistedmatrix.com/documents/current/web/howto/web-in-60/asynchro
Hi Kevin
I found it extremely beneficial to read the Twisted sources, in particular
twisted.internet.defer. In your case, see
https://github.com/twisted/twisted/blob/trunk/twisted/internet/task.py#L821
One nice thing that happens when you read the source is that you see quite
a number of API meth
holy moly - you're right! This fool will sleep so much better...a million
thanks.
On Thu, Dec 17, 2015 at 12:09 AM, Amber "Hawkie" Brown <
hawk...@atleastfornow.net> wrote:
>
> > On 17 Dec 2015, at 08:11, Kevin Mcintyre wrote:
> >
> > Hey - I'm confused, so nothing new :) ...but I'm running at
> On 17 Dec 2015, at 08:11, Kevin Mcintyre wrote:
>
> Hey - I'm confused, so nothing new :) ...but I'm running at this example and
> I'm scratching my head.
>
> http://twistedmatrix.com/documents/current/web/howto/web-in-60/asynchronous-deferred.html
>
> I would've thought 2 requests could be
Just a follow-up with my own sanity check example.
http://twistedmatrix.com/documents/current/web/howto/web-in-60/asynchronous-deferred.html
My conclusion is that deferLater is a blocking method - am I wrong?
On Wed, Dec 16, 2015 at 4:11 PM, Kevin Mcintyre wrote:
> Hey - I'm confused, so noth
Hey - I'm confused, so nothing new :) ...but I'm running at this example
and I'm scratching my head.
http://twistedmatrix.com/documents/current/web/howto/web-in-60/asynchronous-deferred.html
I would've thought 2 requests could be served simultaneously, but when I
fire off 2 requests the first rec