This allows the transport API to support backends that require more song 'n dance before they are able to provide a connection object. The new Sensu Redis library supports Sentinel, this PR includes the required changes to transport API in order to support it and other backends like it.
This allows the transport API to support backends that require more song 'n dance before they are able to provide a connection object. The new Sensu Redis library supports Sentinel, this PR includes the required changes to transport API in order to support it and other backends like it.
transport = Transport.connect()
is now:
Transport.connect() do |transport|