[Twisted-Python] Exit all threads upon KeyboardInterrupt

Phil Mayers p.mayers at imperial.ac.uk
Tue Jan 14 08:22:20 MST 2014


On 14/01/14 15:10, Dustin J. Mitchell wrote:
> On Tue, Jan 14, 2014 at 10:05 AM, Phil Mayers <p.mayers at imperial.ac.uk> wrote:
>> I'm wondering if TCP keepalive isn't any use to you in this regard?
>
> It is, but only in cases where we can tweak kernel parameters
> appropriately so that the timeout is not >2h.

Hmm. I see Twisted has no API to set this using the socket options, 
which is unfortunate. I've opened #6897 for that.

Presumably there should be endpoint syntax for it too...

>> (and what do Mozilla do with Twisted? :o)
>
> Buildbot, among other things.

Doh yes of course.



More information about the Twisted-Python mailing list