From db3f6d97749cd95f2486c2c632eb9d3c07c9a32c Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Fri, 20 Oct 2023 14:01:09 +0800 Subject: [PATCH] fix --- server/websocket/internal/logic/ws_render_image.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/websocket/internal/logic/ws_render_image.go b/server/websocket/internal/logic/ws_render_image.go index 429e03a5..a64b254e 100644 --- a/server/websocket/internal/logic/ws_render_image.go +++ b/server/websocket/internal/logic/ws_render_image.go @@ -208,6 +208,10 @@ func (w *wsConnectItem) renderImage(renderImageData websocket_data.RenderImageRe logx.Error("failed to get element ,", err) return } + //累增websocket请求合图数 + increaseCombineRequestCount() + //请求完要释放 + defer decreaseCombineRequestCount() //获取刀版图 combineReq := repositories.LogoCombineReq{ UserId: renderImageData.RenderData.UserId,