From 4d76dd83adcf5594780fd7e76f92cd8f6b11c2fd Mon Sep 17 00:00:00 2001 From: k4rli Date: Mon, 11 Aug 2025 14:05:54 +0300 Subject: [PATCH 1/2] feat(MED-105): disable scheduler --- instrumentation.ts | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/instrumentation.ts b/instrumentation.ts index c69cd21..e0b25ac 100644 --- a/instrumentation.ts +++ b/instrumentation.ts @@ -2,6 +2,8 @@ import { type Instrumentation } from 'next'; const isEnabledInDev = process.env.ENABLE_LOCAL_JOBS === 'true'; +const isEnabledScheduler = false as boolean; + export async function register() { const { registerMonitoringInstrumentation } = await import( '@kit/monitoring/instrumentation' @@ -12,7 +14,9 @@ export async function register() { await registerMonitoringInstrumentation(); // Register lightweight in-process job scheduler - await registerJobScheduler(); + if (isEnabledScheduler) { + await registerJobScheduler(); + } } /** @@ -22,12 +26,12 @@ export async function register() { * @param err */ export const onRequestError: Instrumentation.onRequestError = async (err) => { - const { getServerMonitoringService } = await import('@kit/monitoring/server'); + // const { getServerMonitoringService } = await import('@kit/monitoring/server'); - const service = await getServerMonitoringService(); + // const service = await getServerMonitoringService(); - await service.ready(); - await service.captureException(err as Error); + // await service.ready(); + // await service.captureException(err as Error); }; async function registerJobScheduler() { From 91e09878314d6e0b444ab9a72697a7c93d5d0b57 Mon Sep 17 00:00:00 2001 From: k4rli Date: Mon, 11 Aug 2025 14:06:05 +0300 Subject: [PATCH 2/2] feat(MED-105): tooltip content too wide --- components/ui/button-tooltip.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ui/button-tooltip.tsx b/components/ui/button-tooltip.tsx index 21d1503..935a23c 100644 --- a/components/ui/button-tooltip.tsx +++ b/components/ui/button-tooltip.tsx @@ -24,7 +24,7 @@ export function ButtonTooltip({ - {content} + {content} );