Method WithConnectionAcquisitionTimeout
WithConnectionAcquisitionTimeout(TimeSpan)
Sets the maximum connection acquisition timeout for waiting for a connection to become available in idle connection pool when MaxConnectionPoolSize is reached.
Note that if a client certificate is provided using WithClientCertificateProvider(IClientCertificateProvider), the the connection acquisition timeout will be running while the client certificate is being fetched, so if the client certificate fetching is slow, it might be necessary to increase the timeout.public ConfigBuilder WithConnectionAcquisitionTimeout(TimeSpan timeSpan)
Parameters
timeSpanTimeSpanThe connection acquisition timeout.
Returns
- ConfigBuilder
A ConfigBuilder instance for further configuration options.