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

cache not used despite it is enabled #2865

Open
markus2330 opened this issue Aug 6, 2019 · 2 comments

Comments

@markus2330
Copy link
Contributor

commented Aug 6, 2019

Steps to Reproduce the Problem

kdb cache enable
kdb cache clear
kdb global-mount syslog
time kdb ls / > /dev/null 
ls ~/.cache/elektra

Expected Result

That there is a cache file in ~/.cache/elektra or a warning that the cache cannot be used is printed.

Actual Result

It is not, as kdb global-mount syslog made the cache dysfunctional.

System Information

  • Elektra Version: master

Btw. if the cache works, it works amazing. 6,253 -> 0,483 seconds (or even 13,426 -> 0,450 seconds in a second try) for 649 config files.

Only for system and / it does not work (noresolvers). Unfortunately, also no warning there.

@mpranj

This comment has been minimized.

Copy link
Member

commented Aug 6, 2019

Thank you for reporting, I forgot to add the warnings. I don't think I'll be able to fix it properly before the upcoming release.

@markus2330

This comment has been minimized.

Copy link
Contributor Author

commented Aug 6, 2019

Don't worry, the release is already done (only not pushed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.