Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mongodb/node-mongodb-native
/ maxTimeMS
Method
maxTimeMS
src/timeout.ts:225–227 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
223
}
224
225
get maxTimeMS(): number {
226
return
this.remainingTimeMS - this.minRoundTripTime;
227
}
228
229
get remainingTimeMS() {
230
const
timePassed = Math.trunc(performance.now()) - this.start;
Callers
5
command_monitoring.test.ts
File · 0.45
makeCursor
Function · 0.45
maxTimeMS.test.ts
File · 0.45
cursor.test-d.ts
File · 0.45
run_command_cursor.test.ts
File · 0.45
Calls
no outgoing calls
Tested by
1
makeCursor
Function · 0.36