Use console warning for slow requests (#10776)

Signed-off-by: Artem Savchenko <armisav@gmail.com>
This commit is contained in:
Artyom Savchenko
2026-04-17 11:36:00 +07:00
committed by GitHub
parent 848c5dd312
commit 749a3603b5
+1 -1
View File
@@ -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,