From 3041c4331e46ebd225b32cf8b4d2f4d2f1f5a7c6 Mon Sep 17 00:00:00 2001 From: Ignat Remizov Date: Mon, 25 May 2026 15:35:36 +0300 Subject: [PATCH] fix(client): downgrade slow query diagnostics Report slow client findAll measurements as warnings instead of errors so the browser console reflects that these entries are performance diagnostics, not failed queries. Preserve the existing threshold, payload, and timing details for performance triage. Signed-off-by: Ignat Remizov --- foundations/core/packages/client-resources/src/connection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foundations/core/packages/client-resources/src/connection.ts b/foundations/core/packages/client-resources/src/connection.ts index 0309ad7abe6..0b3b44c7720 100644 --- a/foundations/core/packages/client-resources/src/connection.ts +++ b/foundations/core/packages/client-resources/src/connection.ts @@ -777,7 +777,7 @@ class Connection implements ClientConnection { params: [_class, query, options], measure: (time, result, serverTime, queue, toReceive) => { if (typeof window !== 'undefined' && (time > 1000 || serverTime > 500)) { - console.error( + console.warn( 'measure slow findAll', time, serverTime,