QuestDB JavaScript Client - v5.0.0
    Preparing search index...

    Interface QwpClientPoolOptions

    interface QwpClientPoolOptions {
        acquireTimeoutMs?: number;
        housekeepingIntervalMs?: number;
        idleTimeoutMs?: number;
        maxLifetimeMs?: number;
        queryPoolMax?: number;
        queryPoolMin?: number;
        senderPoolMax?: number;
        senderPoolMin?: number;
    }
    Index

    Properties

    acquireTimeoutMs?: number

    Maximum wait for a returned pool slot and for leases during shutdown. The shutdown wait is capped at 5 seconds. Defaults to 5 seconds. Capped at 2,147,483,647ms (the host timer ceiling); a larger value throws a RangeError.

    housekeepingIntervalMs?: number

    Idle/lifetime sweep interval. Defaults to 5s and must be at least 100ms. Capped at 2,147,483,647ms (the host timer ceiling); a larger value throws a RangeError.

    idleTimeoutMs?: number

    Idle time before an excess pooled connection is closed. Defaults to 60s; zero disables. Not capped at the host timer ceiling: compared against elapsed time only.

    maxLifetimeMs?: number

    Maximum pooled connection age before recycling it while idle. Defaults to 30m; zero disables. Not capped at the host timer ceiling: compared against elapsed time only.

    queryPoolMax?: number

    Maximum concurrently borrowed query connections. Defaults to 4.

    queryPoolMin?: number

    Warm egress connections created by connect(). Defaults to 1.

    senderPoolMax?: number

    Maximum concurrently borrowed ingress senders. Defaults to 4.

    senderPoolMin?: number

    Warm ingress connections created by connect(). Defaults to 1.