Skip to content

Conversation

@comandeo
Copy link

No description provided.

@comandeo comandeo requested a review from jamis February 14, 2024 15:47
Copy link
Contributor

@jamis jamis left a comment

Choose a reason for hiding this comment

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

Looks great! Just one comment, but it's good to merge otherwise.


def update_minimum_round_trip_time
@rtts.push(@last_round_trip_time) unless @last_round_trip_time.nil?
@minimum_round_trip_time = 0 and return if @rtts.size < 3
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be MIN_SAMPLES instead of a literal 3?

@comandeo comandeo merged commit 955d4f5 into mongodb:csot Feb 14, 2024
@comandeo comandeo deleted the 3368-measure-minimum-rtt branch February 14, 2024 17:07
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.

3 participants