Skip to content

Commit

Permalink
duration fix update
Browse files Browse the repository at this point in the history
Signed-off-by: vvvprabhakar <[email protected]>
  • Loading branch information
vvvprabhakar committed Nov 1, 2021
1 parent 56c2911 commit d934de6
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@ function calculateContent(trace: Trace, span: Span, allSpans: Span[], resultValu
overlayWithout[i].relativeStartTime +
overlayWithout[i].duration -
earliestLongerAsParent.relativeStartTime;
if (overlayWithout[i].duration < 0) {
overlayWithout[i].duration = 0;
}
}
}

Expand Down

0 comments on commit d934de6

Please sign in to comment.