marcoCasamento / Hangfire.Redis.StackExchange

HangFire Redis storage based on original (and now unsupported) Hangfire.Redis but using lovely StackExchange.Redis client
Other
456 stars 109 forks source link

Pass in ConnectionMultiplexer instance #23

Closed sjwoodard closed 7 years ago

sjwoodard commented 8 years ago

I'm using Azure Redis, and it requires to use a single ConnectionMultiplexer, but your library creates its own instance. This is a problem because I need to use Redis in other parts of my application.

It looks like I could just create a new constructor in RedisStorage that would allow me to pass in my own ConnectionMultiplexer. I'm going to fork and if interested I will submit a PR. Thanks.

marcoCasamento commented 7 years ago

I'm sorry for this PR I've simply forgot about it, I've nevertheless implemented the changes you did, (couldn't merge the PR as it was since the codebase changed meanwhile). Could we close it ?