Click or drag to resize

ConfigBuilderWithConnectionIdleTimeout Method

Specify the connection idle timeout. The connection that has been idled in pool for longer than specified timeout will not be reused but closed.

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver (in Neo4j.Driver.dll) Version: 4.2.0
Syntax
public ConfigBuilder WithConnectionIdleTimeout(
	TimeSpan timeSpan
)

Parameters

timeSpan
Type: SystemTimeSpan
The max timespan that a connection can be reused after has been idle for.

Return Value

Type: ConfigBuilder
An ConfigBuilder instance for further configuration options.
See Also