~themue/juju-core/024-cleanup-watcher

Viewing all changes in revision 1253.

  • Committer: John Arbash Meinel
  • Author(s): John A Meinel
  • Date: 2013-06-05 12:03:14 UTC
  • mfrom: (1246.1.2 timeout-bug-1183320)
  • Revision ID: john@arbash-meinel.com-20130605120314-q8tcuw815p8y2211
state/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.

R=gz, dimitern
CC=
https://codereview.appspot.com/9984046

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: