From 875e0b11f886c6055eb020e5f3125bdf70565ecf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=BE=E3=81=A3=E3=81=A1=E3=82=83=E3=81=A8=E3=83=BC?= =?UTF-8?q?=E3=81=AB=E3=82=85?= <17376330+u1-liquid@users.noreply.github.com> Date: Fri, 5 Jan 2024 18:25:03 +0900 Subject: [PATCH 1/2] Revert "deps(backend): Downgrade BullMQ to 4.12.7 (MisskeyIO#318)" This reverts commit 345256c7c67700b264487670558c01a3b5977290. --- packages/backend/package.json | 2 +- pnpm-lock.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/backend/package.json b/packages/backend/package.json index 2a7ccfbc36..82d73d2ec5 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -91,7 +91,7 @@ "bcryptjs": "2.4.3", "blurhash": "2.0.5", "body-parser": "1.20.2", - "bullmq": "4.12.7", + "bullmq": "5.1.1", "cacheable-lookup": "7.0.0", "cbor": "9.0.1", "chalk": "5.3.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bb1604c853..cc30724c32 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -153,8 +153,8 @@ importers: specifier: 1.20.2 version: 1.20.2 bullmq: - specifier: 4.12.7 - version: 4.12.7 + specifier: 5.1.1 + version: 5.1.1 cacheable-lookup: specifier: 7.0.0 version: 7.0.0 @@ -9861,8 +9861,8 @@ packages: dependencies: node-gyp-build: 4.6.0 - /bullmq@4.12.7: - resolution: {integrity: sha512-wigDuI8dyzY1jaUZLrwMp0L7t2glp0eErnRCYlVwi56DUWYSrzrOB3Vz8SaAmpc3Ro5dS4mBwt7RDJG3jiuJKA==} + /bullmq@5.1.1: + resolution: {integrity: sha512-j3zbNEQWsyHjpqGWiem2XBfmxAjYcArbwsmGlkM1E9MAVcrqB5hQUsXmyy9gEBAdL+PVotMICr7xTquR4Y2sKQ==} dependencies: cron-parser: 4.8.1 glob: 8.1.0 From 7750138b3860e1c3dc23c296f9bcd74eff693395 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=BE=E3=81=A3=E3=81=A1=E3=82=83=E3=81=A8=E3=83=BC?= =?UTF-8?q?=E3=81=AB=E3=82=85?= <17376330+u1-liquid@users.noreply.github.com> Date: Fri, 5 Jan 2024 18:28:52 +0900 Subject: [PATCH 2/2] =?UTF-8?q?perf(StatsService):=20QueueStatsService?= =?UTF-8?q?=E3=81=8C=E5=8B=95=E4=BD=9C=E3=81=97=E3=81=AA=E3=81=84=E3=82=88?= =?UTF-8?q?=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/backend/src/boot/common.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/backend/src/boot/common.ts b/packages/backend/src/boot/common.ts index 4783a2b2da..ea8f615885 100644 --- a/packages/backend/src/boot/common.ts +++ b/packages/backend/src/boot/common.ts @@ -24,8 +24,8 @@ export async function server() { if (process.env.NODE_ENV !== 'test') { app.get(ChartManagementService).start(); - app.get(QueueStatsService).start(); - app.get(ServerStatsService).start(); + // app.get(QueueStatsService).start(); + // app.get(ServerStatsService).start(); } return app;