This is an automated email from the ASF dual-hosted git repository.
dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong.git
The following commit(s) were added to refs/heads/master by this push:
new 7344211d57 [INLONG-9229][Dashboard] Data access transmission delay
optimization (#9230)
7344211d57 is described below
commit 7344211d571d93fad4ecdea9e01b00e072c52fbb
Author: Lizhen <[email protected]>
AuthorDate: Wed Nov 8 14:09:54 2023 +0800
[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 1aa6d96237..bde89afd9e 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<Props> = ({ 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<Props> = ({ 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;
}, {});