Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The cache statistic swapCount is never recorded #23

Open
magoorden opened this issue Nov 24, 2021 · 1 comment
Open

The cache statistic swapCount is never recorded #23

magoorden opened this issue Nov 24, 2021 · 1 comment

Comments

@magoorden
Copy link
Contributor

The recording of the cache statistic swapCount is guarded in JFactory:

if (SWAPCOUNT) {
    cachestats.swapCount++;
}

The constant SWAPCOUNT is hard-coded in JFactory to be false. Therefore, the cachestats will never record this statistic.

@dhendriks
Copy link
Member

This should also be moved to a separate statistic as it has nothing to do with caches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants