Optional acquireOptional acquiredDefine Custom Acquired Callback.
Optional createhow long to idle after failed create before trying again
[Default 200]
Optional createcreate operations are cancelled after this many milliseconds if a resource cannot be acquired
[Default 5000]
Optional createdDefine Custom Created Callback. Error on Created Callback will be logged and not raised
Optional destroydestroy operations are awaited for at most this many milliseconds new resources will be created after this timeout
[Default 5000],
Optional destroyedDefine Custom Destroyed Callback. Error on Destroyed Callback will be logged and not raised
Optional idleFree resources are destroyed after this many milliseconds. Note that if min > 0, some resources may be kept alive for longer. To reliably destroy all idle resources, set min to 0.
[Default 30000]
Optional killenable/disable killTimeout
[Default false]
Optional killwhen pool destroy is executed connection will be released and brutaly killed after this timeut
[Default 10000].
Optional killedDefine Custom Kill Callback.
Optional maxmaximum pool size
[Default = 10]
Optional minminimum pool size
[Default = 2]
Optional reaphow often to check for idle resources to destroy
[Default 500]
Optional releasedDefine Custom Release Callback.
acquire promises are rejected after this many milliseconds if a resource cannot be acquired
[Default 10000]