Click or drag to resize

ConfigMaxConnectionPoolSize Property

The max connection pool size.

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver (in Neo4j.Driver.dll) Version: 4.2.0
public int MaxConnectionPoolSize { get; }

Property Value

Type: Int32
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.
See Also