A combination of periodic reconnect and separate hostname resolution attempts effectively caused a DOS of a DNS endpoint.
This pull request leverages the reconnect() logic with retry timer backoff. Using reconnect also allows the transport to connect to another eligible broker after failing to resolve a hostname.
A combination of periodic reconnect and separate hostname resolution attempts effectively caused a DOS of a DNS endpoint.
This pull request leverages the
reconnect()
logic with retry timer backoff. Using reconnect also allows the transport to connect to another eligible broker after failing to resolve a hostname.Closes https://github.com/sensu/sensu/issues/1798
Signed-off-by: Sean Porter portertech@gmail.com