Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mongodb/node-mongodb-native
/ addRttSample
Method
addRttSample
src/sdam/monitor.ts:221–223 ·
view source on GitHub ↗
(rtt: number)
Source
from the content-addressed store, hash-verified
219
}
220
221
addRttSample(rtt: number) {
222
this.rttSampler.addSample(rtt);
223
}
224
225
clearRttSamples() {
226
this.rttSampler.clear();
Callers
2
onHeartbeatSucceeded
Function · 0.80
checkServer
Function · 0.80
Calls
1
addSample
Method · 0.80
Tested by
no test coverage detected