Closed danihodovic closed 1 year ago
Better error handling to detect the transport.
if isinstance(connection.default_channel.client, Redis):
The above fails when the transport is not Redis with an AttributeError as the .client attribute is not set on the default_channel.
Better error handling to detect the transport.
The above fails when the transport is not Redis with an AttributeError as the .client attribute is not set on the default_channel.