MCPcopy
hub / github.com/mongodb/node-mongodb-native / ready

Method ready

src/cmap/connection_pool.ts:306–314  ·  view source on GitHub ↗

* Set the pool state to "ready"

()

Source from the content-addressed store, hash-verified

304 * Set the pool state to "ready"
305 */
306 ready(): void {
307 if (this.poolState !== PoolState.paused) {
308 return;
309 }
310 this.poolState = PoolState.ready;
311 this.emitAndLog(ConnectionPool.CONNECTION_POOL_READY, new ConnectionPoolReadyEvent(this));
312 clearTimeout(this.minPoolSizeTimer);
313 this.ensureMinPoolSize();
314 }
315
316 /**
317 * Check a connection out of this pool. The connection will continue to be tracked, but no reference to it

Callers 15

searchtools.jsFile · 0.45
jquery.jsFile · 0.45
BFunction · 0.45
frontpage.jsFile · 0.45
updateServersFunction · 0.45
java.jsFile · 0.45
searchtools.jsFile · 0.45
completedFunction · 0.45
jquery.jsFile · 0.45
scripts.jsFile · 0.45
toggle-switch.jsFile · 0.45
doctools.jsFile · 0.45

Calls 2

ensureMinPoolSizeMethod · 0.95
emitAndLogMethod · 0.80

Tested by

no test coverage detected