Skip to content

Conversation

@bitfaster
Copy link
Owner

@bitfaster bitfaster commented Nov 12, 2023

Even when the metrics and events are not defined, ConcurrentLruCore returns the internal proxy class through the optional properties. This makes it look like those features are enabled when they are not.

Fix this so that the optional.HasValue returns false when features are disabled.

@bitfaster bitfaster marked this pull request as ready for review November 12, 2023 01:56
@coveralls
Copy link

Coverage Status

coverage: 98.302% (-0.08%) from 98.382%
when pulling f5386f5 on users/alexpeck/opt
into 532db75 on main.

@bitfaster bitfaster merged commit 4782d2e into main Nov 12, 2023
@bitfaster bitfaster deleted the users/alexpeck/opt branch November 12, 2023 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants