-
Notifications
You must be signed in to change notification settings - Fork 1.8k
feat(NODE-5825): add minRoundTripTime
to ServerDescription
and change roundTripTime
to a moving average
#4059
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
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
ebbbf60
feat(NODE-5825): add minRTT and average rtt measures to Monitor
W-A-James d8807e8
use instantaneous heartbeat duration and not average for ServerHeartb…
W-A-James 0bcf2e8
add MovingWindow tests
W-A-James d46fc15
test cleanup
W-A-James 0ce246f
update monitor
W-A-James 63d7b52
update tests
W-A-James 2fcc44f
skip tests on node 18 and 20
W-A-James 40bb3fe
use monitor roundtrip time for server descriptions
W-A-James db7fad5
fix lint
W-A-James bf1917f
ensure rttpinger always has a most recent value
W-A-James e4a3fc7
change field name
W-A-James 3d8bc41
variable naming
W-A-James 02e4b48
variable naming
W-A-James a6e55b5
refactor measureAndReschedule as methods
W-A-James 29164db
Update monitor rtt tests
W-A-James 2b113db
rename utility class
W-A-James 8107480
add docs
W-A-James e69d3f6
misc and lint fixes
W-A-James 19875d7
variable renaming
W-A-James 2a4f1a2
remove parent field from connect options
W-A-James 9d1f67b
remove getters
W-A-James 1b2393b
review changes
W-A-James a06eec1
move RTTSampler class to monitor file
W-A-James File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.