Closed patriknw closed 2 years ago
Idle connections are not evicted after maxIdleTime.
maxIdleTime
backgroundEvictionInterval
Evict idle (unused) connections when low demand of connections.
Reactor pool is using LRU reuse by default. That means that all connections in the pool are touched and never become idle.
Change to MRU.
Bug Report
Versions
Current Behavior
Idle connections are not evicted after
maxIdleTime
.Steps to reproduce
maxIdleTime
andbackgroundEvictionInterval
.Expected behavior/code
Evict idle (unused) connections when low demand of connections.
Possible Solution
Reactor pool is using LRU reuse by default. That means that all connections in the pool are touched and never become idle.
Change to MRU.