Commit 59006419 authored by vyzo's avatar vyzo

clear address dial when they fail because of backoff

makes TestDialBackoff happy
parent 2e742fb9
......@@ -517,6 +517,11 @@ loop:
delete(requests, reqno)
}
}
// if it was a backoff, clear the address dial so that it doesn't inhibit new dial requests
if res.err == ErrDialBackoff {
delete(pending, res.addr)
}
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment