From 7344211d571d93fad4ecdea9e01b00e072c52fbb Mon Sep 17 00:00:00 2001 From: Lizhen <88174078+bluewang@users.noreply.github.com> Date: Wed, 8 Nov 2023 14:09:54 +0800 Subject: [PATCH] [INLONG-9229][Dashboard] Data access transmission delay optimization (#9230) --- inlong-dashboard/src/ui/pages/GroupDetail/Delay/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inlong-dashboard/src/ui/pages/GroupDetail/Delay/index.tsx b/inlong-dashboard/src/ui/pages/GroupDetail/Delay/index.tsx index 1aa6d962371..bde89afd9e0 100644 --- a/inlong-dashboard/src/ui/pages/GroupDetail/Delay/index.tsx +++ b/inlong-dashboard/src/ui/pages/GroupDetail/Delay/index.tsx @@ -104,7 +104,7 @@ const Comp: React.FC = ({ inlongGroupId }) => { } acc[cur.logTs] = { ...acc[cur.logTs], - [cur.auditId]: cur.count === 0 ? cur.delay : Math.floor(cur.delay / cur.count), + [cur.auditId]: cur.delay, }; return acc; }, {}); @@ -134,7 +134,7 @@ const Comp: React.FC = ({ inlongGroupId }) => { } acc[cur.logTs] = { ...acc[cur.logTs], - [cur.auditId]: cur.count === 0 ? cur.delay : Math.floor(cur.delay / cur.count), + [cur.auditId]: cur.delay, }; return acc; }, {});