Skip to content
Snippets Groups Projects
  • Craig Tiller's avatar
    296984b4
    Break infinite connection retry loop · 296984b4
    Craig Tiller authored
    Previously, we'd keep retrying a connection until the channel closed.
    With this change, we only retry connecting *if there's a watcher on the
    subchannel connection state*. This ultimately means that if the
    lb_policy doesn't care if the subchannel connects, it'll stop trying.
    296984b4
    History
    Break infinite connection retry loop
    Craig Tiller authored
    Previously, we'd keep retrying a connection until the channel closed.
    With this change, we only retry connecting *if there's a watcher on the
    subchannel connection state*. This ultimately means that if the
    lb_policy doesn't care if the subchannel connects, it'll stop trying.