From 078eaa4e83fad48883673a7e01936c773ea1f810 Mon Sep 17 00:00:00 2001 From: Yun Date: Sat, 4 Oct 2025 21:53:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=B8=80=E4=B8=8B=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lockx_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lockx_test.go b/lockx_test.go index 56350af..04a773d 100644 --- a/lockx_test.go +++ b/lockx_test.go @@ -396,7 +396,7 @@ func TestGlobalLock_Concurrency(t *testing.T) { mu.Unlock() // 持有锁一段时间 - time.Sleep(100 * time.Millisecond) + time.Sleep(1 * time.Second) lock.Unlock() } }(i)