Currently, deadpool-redis doesn't provide any way to modify the MultiplexedConnection configuration (e.g. to set connection or response timeouts).
This PR addresses this by implementing a new constructor for the Manager, new_with_connection_config, that lets the user provide an AsyncConnectionConfig to the Manager, such that we can construct the connection via get_multiplexed_async_connection_with_config.
Please let me know if there's anything I have missed or if you'd rather this be done differently.
Currently, deadpool-redis doesn't provide any way to modify the
MultiplexedConnection
configuration (e.g. to set connection or response timeouts). This PR addresses this by implementing a new constructor for theManager
,new_with_connection_config
, that lets the user provide anAsyncConnectionConfig
to theManager
, such that we can construct the connection viaget_multiplexed_async_connection_with_config
.Please let me know if there's anything I have missed or if you'd rather this be done differently.