[Twisted-Python] spread.sturdy reconnect delay

Christopher Armstrong carmstro at twistedmatrix.com
Fri Aug 2 21:17:35 EDT 2002


On Fri, 2002-08-02 at 20:55, Paul Boehm wrote:
> i've come up with the following approaches:
>   *) try n times, then wait i seconds, rinse, repeat
>   *) try, sleep i, try, sleep i, ...
>   *) try, sleep i++, try, sleep i++, ..

I'd go with either the first or second, and since the second is simpler,
probably the second.
-- 
                                Chris Armstrong
                         << radix at twistedmatrix.com >>
                http://twistedmatrix.com/users/carmstro.twistd/





More information about the Twisted-Python mailing list