From 639f7301d9331049edf9593397516b27851a45f1 Mon Sep 17 00:00:00 2001 From: xjasonlyu Date: Wed, 6 Dec 2023 18:20:54 -0500 Subject: [PATCH] fix: do not close queue --- game-service/game/app.go | 1 - 1 file changed, 1 deletion(-) diff --git a/game-service/game/app.go b/game-service/game/app.go index d51afdc..8e8e146 100644 --- a/game-service/game/app.go +++ b/game-service/game/app.go @@ -64,7 +64,6 @@ func (app *App) Start() { if err != nil { log.Fatalln(err) } - defer app.hrmMQ.Close() go func() { log.Printf("listen to %s queue.", consts.HRMToGameQueue)