Re: [Twisted-Python] Inconsistency in ReconnectingClientFactory

2010-11-09 Thread Brandl, Albert
Hi! Am Mittwoch, den 03-11-2010 um 15:10 schrieb exar...@twistedmatrix.com: > One reason to prefer not to have a fixed value as maxDelay is that > always picking a random values ensures that you'll never have a stampede > of clients all attempting connections at once. This should of course be

Re: [Twisted-Python] Inconsistency in ReconnectingClientFactory

2010-11-03 Thread exarkun
On 12:01 pm, albert.bra...@weiermayer.com wrote: >Hi! > >The ReconnectingClientFactory class allows to define the instance >variable maxDelay. Its documentation is "Maximum number of seconds >between connection attempts." > >maxDelay is used in the retry() method to bound self.delay. But this >happ

[Twisted-Python] Inconsistency in ReconnectingClientFactory

2010-11-03 Thread Brandl, Albert
Hi! The ReconnectingClientFactory class allows to define the instance variable maxDelay. Its documentation is "Maximum number of seconds between connection attempts." maxDelay is used in the retry() method to bound self.delay. But this happens in the _first_ step of the calculation of sel