From 4578e59bbfe6393dbb716e433a8eea169ebd6b03 Mon Sep 17 00:00:00 2001 From: Andrey Sobolev Date: Thu, 25 Sep 2025 19:01:28 +0700 Subject: [PATCH] Qfix github connection leak (#9942) Signed-off-by: Andrey Sobolev --- services/github/pod-github/src/worker.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/services/github/pod-github/src/worker.ts b/services/github/pod-github/src/worker.ts index ca15bb32b4..54725d87e8 100644 --- a/services/github/pod-github/src/worker.ts +++ b/services/github/pod-github/src/worker.ts @@ -1793,6 +1793,7 @@ export class GithubWorker implements IntegrationManager { const githubEnabled = (await client.findOne(core.class.PluginConfiguration, { pluginId: githubId }))?.enabled if (githubEnabled === false) { + await client.close() return undefined }