[Twisted-Python] Timing Out Deferreds
Ken Kinder
ken at kenkinder.com
Mon Feb 28 11:31:12 EST 2005
James Y Knight wrote:
> No, a deferred is just a chain of callbacks -- it doesn't really make
> sense to time out a chain of callbacks. You need to time out the
> *source* operation that is planning on eventually calling the
> deferred. The process of killing the source operation ought to
> additionally cause the deferred's errback to be called.
>
That would be ideal, but the situation I'm in isn't exactly that way. I
have a general system of scheduling tasks that doesn't really know what
the task is, but knows it shouldn't take too long -- something like a
crontab.
More information about the Twisted-Python
mailing list