From 27aff98a724fd64850fc72cf6929404bd8ecd486 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=AD=90=E9=93=AD?= Date: Thu, 20 Mar 2025 19:25:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/data/gorm_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/data/gorm_test.go b/internal/data/gorm_test.go index ecb0a20..ac9eedd 100644 --- a/internal/data/gorm_test.go +++ b/internal/data/gorm_test.go @@ -28,7 +28,7 @@ func Test_db(t *testing.T) { start2 := time.Now() errCount := 0 var wg sync.WaitGroup - const concurrency = 500 // 调整并发数 + const concurrency = 2 // 调整并发数 wg.Add(concurrency) for i := 0; i < concurrency; i++ {