Merge pull request #32893 from malthe/add-test-on-return

generic-pool: Add missing flag 'testOnReturn'
This commit is contained in:
Armando Aguirre 2019-02-08 13:21:18 -08:00 committed by GitHub
commit 454dcbcbe5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,7 @@ const opts = {
min: 2,
maxWaitingClients: 2,
testOnBorrow: true,
testOnReturn: true,
acquireTimeoutMillis: 100,
fifo: true,
priorityRange: 5,

View File

@ -38,6 +38,7 @@ export interface Options {
min?: number;
maxWaitingClients?: number;
testOnBorrow?: boolean;
testOnReturn?: boolean;
acquireTimeoutMillis?: number;
fifo?: boolean;
priorityRange?: number;