MCPcopy
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

checkInMethod · 0.80
createConnectionMethod · 0.80

Calls 1

processTimeMSFunction · 0.90

Tested by

no test coverage detected