Table of Contents

Method WithConnectionIdleTimeout

Namespace
Neo4j.Driver
Assembly
Neo4j.Driver.dll

WithConnectionIdleTimeout(TimeSpan)

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

public ConfigBuilder WithConnectionIdleTimeout(TimeSpan timeSpan)

Parameters

timeSpan TimeSpan

The max timespan that a connection can be reused after has been idle for.

Returns

ConfigBuilder

A ConfigBuilder instance for further configuration options.