Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Canceled after 0s
20 lines
663 B
Plaintext
20 lines
663 B
Plaintext
import Pool from './pool'
|
|
|
|
export default PoolStats
|
|
|
|
declare class PoolStats {
|
|
constructor (pool: Pool)
|
|
/** Number of open socket connections in this pool. */
|
|
connected: number
|
|
/** Number of open socket connections in this pool that do not have an active request. */
|
|
free: number
|
|
/** Number of pending requests across all clients in this pool. */
|
|
pending: number
|
|
/** Number of queued requests across all clients in this pool. */
|
|
queued: number
|
|
/** Number of currently active requests across all clients in this pool. */
|
|
running: number
|
|
/** Number of active, pending, or queued requests across all clients in this pool. */
|
|
size: number
|
|
}
|