Descriptionstate/open.go: Remove RetryDelay
The latest version of mgo always delays 500ms between every retry. This would
mean that we delay both that 500ms and the extra time that we had internally.
Instead, this removes our internal delay, and the test that asserted we did not
delay when it was a TLS failure rather than a connection failure.
mgo does not appear to expose any way to control the retry delay, but
it does seem close enough for what we wanted to do that we can live
with it.
https://code.launchpad.net/~jameinel/juju-core/timeout-bug-1183320/+merge/167264
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : state/open.go: Remove RetryDelay #
MessagesTotal messages: 4
|