Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mongodb/node-mongodb-native
/ markAvailable
Method
markAvailable
src/cmap/connection.ts:305–307 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
303
}
304
305
public markAvailable(): void {
306
this.lastUseTime = processTimeMS();
307
}
308
309
private onSocketError(cause: Error) {
310
this.onError(
new
MongoNetworkError(cause.message, { cause }));
Callers
2
checkIn
Method · 0.80
createConnection
Method · 0.80
Calls
1
processTimeMS
Function · 0.90
Tested by
no test coverage detected