Table of Contents

Property MaxConnectionPoolSize

Namespace
Neo4j.Driver
Assembly
Neo4j.Driver.dll

MaxConnectionPoolSize

The max connection pool size.

public int MaxConnectionPoolSize { get; }

Property Value

int

Remarks

The max connection pool size specifies the allowed maximum number of idle and current in-use connections by the driver. a.k.a. ConnectionPoolSize = IdleConnectionPoolSize + InUseConnectionSize. When a driver reaches its allowed maximum connection pool size, no new connections can be established. Instead all threads that require a new connection have to wait until a connection is available to reclaim. See ConnectionAcquisitionTimeoutfor the maximum waiting time to acquire an idle connection from the pool. Setting this value to Infinite will result in an infinite pool.