From 3d49c032b91b4e48e0e3a007cca74b4f7479cca4 Mon Sep 17 00:00:00 2001 From: weijuesen Date: Fri, 14 Aug 2026 19:21:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20Outbox=20worker=20=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E5=90=8E=E5=8F=B0=20goroutine=EF=BC=8C=E9=81=BF=E5=85=8D?= =?UTF-8?q?=E9=98=BB=E5=A1=9E=20HTTP=20=E5=90=AF=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server-go/cmd/server/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server-go/cmd/server/main.go b/server-go/cmd/server/main.go index b64c229..8d798b8 100644 --- a/server-go/cmd/server/main.go +++ b/server-go/cmd/server/main.go @@ -90,7 +90,7 @@ func main() { outbox.SetHandler(service.NewOutboxHandler(db, wechatSvc)) outboxCtx, cancelOutbox := context.WithCancel(context.Background()) defer cancelOutbox() - outbox.Start(outboxCtx) + go outbox.Start(outboxCtx) // 9. 创建 Gin 引擎 gin.SetMode(gin.ReleaseMode)