Closed patriknw closed 2 years ago
@mp911de friendly ping, if you have a moment to review this fix
@patriknw just a small suggestion, as I've stumbled upon this bug myself, I think it's easier to just replaceif (maxIdleTimeMills == 0 || maxLifeTimeMillis == 0)
with if (maxIdleTime.isZero() || maxLifeTime.isZero())
in the evictionPredicate
, this way it's just one line of code changed, the code is easier to read and all tests will pass.
@mp911de can you please merge this? This is a serious issue and affect performance badly.
Thank you for your contribution. That's merged and backported now.
Fixes #129