mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-17 18:05:42 +02:00
Use console warning for slow requests (#10776)
Signed-off-by: Artem Savchenko <armisav@gmail.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user