Browse Source

Merge pull request #25497 from abpframework/fix/redundant-fallback-to-provider-call

Remove redundant `FallbackToProvider` call in `MedallionAbpDistributedLock`
pull/25525/head
Engincan VESKE 5 months ago
committed by GitHub
parent
commit
6e00e10441
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      framework/src/Volo.Abp.DistributedLocking/Volo/Abp/DistributedLocking/MedallionAbpDistributedLock.cs

2
framework/src/Volo.Abp.DistributedLocking/Volo/Abp/DistributedLocking/MedallionAbpDistributedLock.cs

@ -32,8 +32,6 @@ public class MedallionAbpDistributedLock : IAbpDistributedLock, ITransientDepend
{
Check.NotNullOrWhiteSpace(name, nameof(name));
var key = DistributedLockKeyNormalizer.NormalizeKey(name);
CancellationTokenProvider.FallbackToProvider(cancellationToken);
var handle = await DistributedLockProvider.TryAcquireLockAsync(
key,

Loading…
Cancel
Save