Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
MinConnections can not be configured on a specific ConnectionPoolSettings #1525
I am writing a small library that uses the akka-http host connection pool client to interact with an external system.
For this library, I don't want to use the default
To do this, I've done the following:
private val connectionPoolSettings = ConnectionPoolSettings(system) .withMaxConnections(maxConnections) .withMaxOpenRequests(maxConnections) .withMaxRetries(maxRetries)
This seems to be the easiest way to go, because it allows using the default settings and only overwrite the interesting values.