refactor: 移除分布式锁获取时的超时参数

This commit is contained in:
ccnetcore
2025-08-30 21:17:25 +08:00
parent 1b00e505b7
commit 72387235a0
2 changed files with 2 additions and 4 deletions

View File

@@ -95,8 +95,7 @@ public class FuwuhaoService : ApplicationService
//制作幂等
await using (var handle =
await DistributedLock.TryAcquireLockAsync($"Yi:fuwuhao:callbacklock:{scene}",
TimeSpan.FromSeconds(60)))
await DistributedLock.TryAcquireLockAsync($"Yi:fuwuhao:callbacklock:{scene}"))
{
if (handle == null)
{