From c83fa2b569c1f0b8b9abc13969286a0db3a257a7 Mon Sep 17 00:00:00 2001 From: ydy Date: Tue, 8 Jun 2021 09:43:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:Lock=E9=94=81=E6=98=AF=E5=90=A6=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E5=BB=B6=E9=95=BF=E5=8F=82=E6=95=B0=E7=BC=BA=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/CSRedisCore/RedisHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CSRedisCore/RedisHelper.cs b/src/CSRedisCore/RedisHelper.cs index dd2987f..084bd5f 100644 --- a/src/CSRedisCore/RedisHelper.cs +++ b/src/CSRedisCore/RedisHelper.cs @@ -1946,5 +1946,5 @@ public static (T member, decimal dist, decimal longitude, decimal latitude)[] Ge /// 超时(秒) /// 自动延长锁超时时间,看门狗线程的超时时间为timeoutSeconds/2 , 在看门狗线程超时时间时自动延长锁的时间为timeoutSeconds。除非程序意外退出,否则永不超时。 /// - public static CSRedisClientLock Lock(string name, int timeoutSeconds, bool autoDelay = true) => Instance.Lock(name, timeoutSeconds); + public static CSRedisClientLock Lock(string name, int timeoutSeconds, bool autoDelay = true) => Instance.Lock(name, timeoutSeconds,autoDelay); } \ No newline at end of file