Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stopping the timer before calculating the elapsedmilliseconds #28

Merged
merged 1 commit into from
Mar 8, 2021

Conversation

preddy4690
Copy link
Contributor

The middleware has a bug. The timer to calculate the request time is started but not stopped. Fixing the bug!

@preddy4690 preddy4690 requested a review from a team March 5, 2021 19:17
Copy link
Contributor

@MikeGoldsmith MikeGoldsmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @preddy4690 - thank you for the contribution.

While this is unlikely to have a material impact on the value that goes into the duration_ms field, it is good practice to stop timers.

@MikeGoldsmith MikeGoldsmith merged commit 1a4dc39 into honeycombio:main Mar 8, 2021
MikeGoldsmith pushed a commit that referenced this pull request Mar 24, 2021
Co-authored-by: Preetham Reddy <preetham@techfabric.com>
MikeGoldsmith added a commit that referenced this pull request Mar 24, 2021
* main:
  Fix typo in project file. (#31)
  Add WriteKey and deprecate TeamId (#30)
  Update default SendFrequency to 10 seconds (#27)
  Stopping the timer before calculating the elapsedmilliseconds (#28)

# Conflicts:
#	README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants