Re: [Twisted-Python] leakage between tests with trial when code under test uses deferToThread

2018-11-23 Thread Glyph
> On Nov 23, 2018, at 7:58 AM, Chris Withers wrote: > > Hi All, > > Does trial do anything to clean up stuff that's been passed to deferToThread? Nope. It does its best to clean up stuff that it knows is "in" the reactor (sockets, timers, and the like), but since threads can kind of do ~wha

[Twisted-Python] leakage between tests with trial when code under test uses deferToThread

2018-11-23 Thread Chris Withers
Hi All, Does trial do anything to clean up stuff that's been passed to deferToThread? I'm seeing what looks like leakage between tests where stuff that is deferred to a thread from a LoopingCall is resulting in a DelayedCall ending up in the reactor for the next test. Does that ring any bel

Re: [Twisted-Python] Thread Consumption Problem in Daemon?

2018-11-23 Thread Darren Govoni
Thanks. I added Tipper to my program and will see what it shows when I ping the process. https://pypi.org/project/tipper/ On Thu, Nov 22, 2018 at 6:43 AM Chris Withers wrote: > On 22/11/2018 02:30, Glyph wrote: > > > >> On Nov 19, 2018, at 6:16 AM, Darren Govoni >>