perrich / Hangfire.MemoryStorage

A memory storage for Hangfire.
Apache License 2.0
131 stars 43 forks source link

DisableConcurrentExecutionAttribute does not work #10

Closed philipbjorge closed 6 years ago

philipbjorge commented 7 years ago

https://github.com/perrich/Hangfire.MemoryStorage/blob/49a32c0ef0156228b3104bf28c23bc22cf2f957d/src/Hangfire.MemoryStorage/Utilities/LocalLock.cs#L16

I believe this needs to throw if TryEnter returns false for it to match behavior.

perrich commented 6 years ago

Fixed thanks to gisek.