Skip to main content
Version: Next

PoolConfig

Index

Properties

optionalacquireTimeoutMillis

acquireTimeoutMillis?: number

optionalafterCreate

afterCreate?: Function

optionalcreateRetryIntervalMillis

createRetryIntervalMillis?: number

optionalcreateTimeoutMillis

createTimeoutMillis?: number

optionaldestroyTimeoutMillis

destroyTimeoutMillis?: number

optionalidleTimeoutMillis

idleTimeoutMillis?: number

optionallog

log?: (message: string, logLevel: string) => void

Type declaration

    • (message: string, logLevel: string): void
    • Parameters

      • message: string
      • logLevel: string

      Returns void

optionalmax

max?: number

optionalmin

min?: number

optionalname

name?: string

optionalpriorityRange

priorityRange?: number

optionalpropagateCreateError

propagateCreateError?: boolean

optionalreapIntervalMillis

reapIntervalMillis?: number

optionalrefreshIdle

refreshIdle?: boolean

optionalreturnToHead

returnToHead?: boolean