Skip to content

Commit

Permalink
[INLONG-9229][Dashboard] Data access transmission delay optimization (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
bluewang authored Nov 8, 2023
1 parent d116f1a commit 7344211
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inlong-dashboard/src/ui/pages/GroupDetail/Delay/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}, {});
Expand Down Expand Up @@ -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;
}, {});
Expand Down

0 comments on commit 7344211

Please sign in to comment.