@supabase/server - v1.9.1
    Preparing search index...

    Interface PostgresPoolOptions

    Pool sizing for withPostgresClient and withPostgresAdminClient. Two entries on the same connection string share a pool only when their options resolve to the same values.

    interface PostgresPoolOptions {
        max?: number;
        checkoutTimeoutMs?: number;
    }
    Index

    Properties

    max?: number

    Connections this process opens at most on this connection string. A positive integer. The pooler team recommends one to four for serverless deployments.

    4
    
    checkoutTimeoutMs?: number

    Milliseconds a query waits for a free connection before failing with POSTGRES_POOL_BUSY, and how long a new connection may take to come up. A positive number. Keep it well under the pooler's own 60 second checkout timeout so the failure surfaces here, with a message that says what happened.

    10000