From 2c151ea4fe979ceece7599bc5def3924623a000c Mon Sep 17 00:00:00 2001 From: Ignat Remizov Date: Tue, 26 May 2026 10:27:45 +0300 Subject: [PATCH] fix(client): downgrade slow query diagnostics (#10884) 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 0309ad7abe..0b3b44c772 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,