
Feb. 28, 2005
11:31 a.m.
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.