At this moment, AcquireDistributedLock is hard-coded to acquire Exclusive app lock. In out application, we have need to use Shared locks as well. Is there an alternative to AcquireDistributedLock which allows for shared locks, or, if not, is there a possibility to introduce an overloaded method which takes additional LockMode parameter?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
AcquireDistributedLock should throw a specific exception | 1 | 2635 | May 26, 2015 | |
Hangfire.MySql.MySqlDistributedLockException: cannot acquire lock | 0 | 105 | October 8, 2024 | |
AcquireDistributedJobLock -- proper usage? | 0 | 1220 | April 6, 2017 | |
Distrubuted Lock on Sql Server is Never Released | 2 | 3204 | November 12, 2015 | |
Disable concurrent per server | 1 | 1144 | April 24, 2017 |