iya-sts
    Preparing search index...
    poolMax: (workers: any, size?: any) => number = poolMax

    Type Declaration

      • (workers: any, size?: any): number
      • Returns how many connections each process's pool holds.

        Twice the node's request-worker count, and never fewer than four, so the scheduler's cap and the pool agree — unless size names one (persistence.poolSize, #2220), which is then the size, never below two: the flush and the change-log pull each need one.

        Parameters

        • workers: any

          the node's request workers (workers.requestCount plus workers.surfaceCount)

        • Optionalsize: any

          the configured size; 0 or absent for the automatic one

        Returns number

        the pool size