[Twisted-Python] spawnProcess - reapProcess not retrying on failures

Justin Mazzola Paluska jmp at editshare.com
Tue Sep 2 06:44:50 MDT 2014


On Sep 2, 2014 8:22 AM, "Akira Li" <4kir4.1i at gmail.com> wrote:
>
> Justin Mazzola Paluska <jmp at editshare.com> writes:
>
> Unrelated.
>
> >             def unstick():
> >                 reapAllProcesses()
> >             reactor.callLater(1, unstick)
> >
>
> Why do you use `unstick` instead of `reapAllProcesses` directly.
> Do you expect that `reapAllProcesses` name will be rebound in the future?

I had a bunch of debug spew in unstick when I was developing this monkey
patch.  I left the indirection in in case I needed to add the debug spew
back.
     --Justin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20140902/80b7294f/attachment-0002.html>


More information about the Twisted-Python mailing list