Method WithConnectionIdleTimeout
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
timeSpanTimeSpanThe max timespan that a connection can be reused after has been idle for.
Returns
- ConfigBuilder
A ConfigBuilder instance for further configuration options.