mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 21:40:21 +00:00
Merge pull request #32893 from malthe/add-test-on-return
generic-pool: Add missing flag 'testOnReturn'
This commit is contained in:
@@ -29,6 +29,7 @@ const opts = {
|
||||
min: 2,
|
||||
maxWaitingClients: 2,
|
||||
testOnBorrow: true,
|
||||
testOnReturn: true,
|
||||
acquireTimeoutMillis: 100,
|
||||
fifo: true,
|
||||
priorityRange: 5,
|
||||
|
||||
Vendored
+1
@@ -38,6 +38,7 @@ export interface Options {
|
||||
min?: number;
|
||||
maxWaitingClients?: number;
|
||||
testOnBorrow?: boolean;
|
||||
testOnReturn?: boolean;
|
||||
acquireTimeoutMillis?: number;
|
||||
fifo?: boolean;
|
||||
priorityRange?: number;
|
||||
|
||||
Reference in New Issue
Block a user