marcoCasamento / Hangfire.Redis.StackExchange

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

Throw DistributedLockTimeoutException instead of TimeoutException inside RedisLock/RedisConnection. #61

Closed sk-pub closed 4 years ago

sk-pub commented 7 years ago

The method RedisConnection.AcquireDistributedLock and constructor of the RedisLock should throw DistributedLockTimeoutException instead of System.TimeoutException. See https://github.com/HangfireIO/Hangfire/pull/789 for details.

marcoCasamento commented 4 years ago

I guess this is very old and just need to be closed. The Acquire method raise a DistributedLockTimeoutException