Descriptionstate: delay before redialing
Fixes LP#1084867
This proposal works around the mgo driver's retry behavior by inserting a short (currently 2 second) delay before returning from the dial function. This reduces the amount of time mgo spends pummeling an instance while it is bootstrapping.
The delay is only used on tcp level errors; if the socket connects, but fails ssl negotiation, the error is returned immediately.
https://code.launchpad.net/~dave-cheney/juju-core/107-increase-timeout-delay/+merge/153992
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 4
MessagesTotal messages: 5
|