Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(metrics): Prevent NaNs in sampling from occuring
A code path could lead to a NaN if diff_running is 0 as this would result in a division-by-zero. This commit solves this problem by just deleting that code path, as there is no evidence that the bug it addresses has existed in recent times, if ever.
- Loading branch information