Hi, i have question regarding the following log:
Opened connection [connectionId{localValue:1058, serverValue:40975}]
i have noticed that the value of localValue keeps increasing. what does this value mean?
Is it related the maximum number of connections in the pool? Why is it increasing more than the maxSize default value 100?
Thanks,
Jorge
Current client configuration:
private val mongoClient: CoroutineClient =
KMongo.createClient(
MongoClientSettings
.builder()
.applyToConnectionPoolSettings
{
it.maxConnectionLifeTime(30, TimeUnit.
MINUTES)
.maxConnectionIdleTime(10, TimeUnit.
MILLISECONDS)
}
.applyToSocketSettings
{
it.connectTimeout(20000, TimeUnit.
MILLISECONDS)
}
.applyConnectionString(ConnectionString(AppConfiguration.mongoUrl))
.readPreference(ReadPreference.secondaryPreferred())
.retryWrites(true)
.build()
).
coroutine