Closed mtytel closed 13 years ago
Convert to proper timeout (closed by ed58486cdd2c3016fd71d2aa83c15022b3a4241a)
This is resolved on my master.
Apparently the correct solution is to call: reactor.callLater(timeout, deferred.cancel)
However that only exists in super recent versions of twisted. So I also added a partial implementation for older versions that just errback directly if it hasn't been called.
setTimeout is deprecated because it does not kill the query it sends after the timeout has elapsed. Then when the result is sent back, and AlreadyCalledError is raised.
http://twistedmatrix.com/trac/ticket/178