Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: race condition in WindowedThroughput sampler (#73)
## Which problem is this PR solving? - A "flaky" test in Refinery would fail occasionally with a race condition in WindowedSampler. This fixes it. ## Short description of the changes - Use a local temporary variable instead of modifying the count on the fly, then write it during the existing lock periods.
- Loading branch information