Refactored connection pool (#913)
* Refactored ConnectionPool - Created BaseConnectionPool class - Created CloudConnectionPool - connection pool updates are immutable - resurrect now happens inside getConnection() * Rewritten connection pool(s) type definitions * Updated test * Fixed test * Fix if check * Removed old files * Improve code coverage * Updated license header * Fix if check * Improve code coverage * Updated coverage script
This commit is contained in:
committed by
GitHub
parent
fa07de3284
commit
a948a98be6
@ -733,7 +733,7 @@ test('Util.inspect Connection class should hide agent, ssl and auth', t => {
|
||||
resurrectTimeout: 0,
|
||||
_openRequests: 0,
|
||||
status: 'alive',
|
||||
roles: { master: true, data: true, ingest: true, ml: false } }`)
|
||||
roles: { master: true, data: true, ingest: true, ml: false }}`)
|
||||
)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user