diff --git a/Neo4j.Driver/Neo4j.Driver/V1/Config.cs b/Neo4j.Driver/Neo4j.Driver/V1/Config.cs
index ef4d3d389..bb4d6451e 100644
--- a/Neo4j.Driver/Neo4j.Driver/V1/Config.cs
+++ b/Neo4j.Driver/Neo4j.Driver/V1/Config.cs
@@ -134,7 +134,7 @@ static Config()
/// Any negative value will be considered to be "Infinite",
/// a.k.a. pooled connections will never be stale.
///
- public TimeSpan ConnectionIdleTimeout { get; set; } = Infinite;
+ internal TimeSpan ConnectionIdleTimeout { get; set; } = Infinite;
///
/// Gets or sets the connections to support ipv6 addresses.
@@ -202,12 +202,6 @@ public IConfigBuilder WithMaxTransactionRetryTime(TimeSpan time)
return this;
}
- public IConfigBuilder WithConnectionIdleTimeout(TimeSpan timeSpan)
- {
- _config.ConnectionIdleTimeout = timeSpan;
- return this;
- }
-
public IConfigBuilder WithIpv6Enabled(bool enable)
{
_config.Ipv6Enabled = enable;
@@ -291,15 +285,6 @@ public interface IConfigBuilder
/// Must call to generate a instance.
IConfigBuilder WithMaxTransactionRetryTime(TimeSpan time);
- ///
- /// Specify the connection idle timeout.
- /// The connection that has been idled in pool for longer than specified timeout will not be reused but closed.
- ///
- /// The max timespan that a connection can be reused after has been idle for.
- /// An instance for further configuration options.
- /// Must call to generate a instance.
- IConfigBuilder WithConnectionIdleTimeout(TimeSpan timeSpan);
-
///
/// Setting this option to true will enable ipv6 on socket connections.
///