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 Wiped Very Often #4

Open
Ewster opened this issue Dec 14, 2021 · 1 comment
Open

Cache Wiped Very Often #4

Ewster opened this issue Dec 14, 2021 · 1 comment

Comments

@Ewster
Copy link

Ewster commented Dec 14, 2021

I'm experiencing a problem where my cache is being deleted very frequently, usually within 10-20 minutes. My intention was to cache otherwise live data (gathered offsite) to reduce the number of API calls, but instead the cache itself is just deleting and starting over repeatedly and I'm losing the benefits of the cache.

I suspect it happens more often when the server is busy. It feels like it's too regular to simply be a case of two web requests hitting at the same time and causing one to fail on access to the cache (hence unlinking).

@Wruczek
Copy link
Owner

Wruczek commented Dec 20, 2021

Hi, unfortunately it sometimes happens that the file cannot be read properly (see: #3). If it happens, then the cache file is deleted. I would assume that fixing #3 would fix this issue as well, but unfortunately there's no fix as of today.

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

No branches or pull requests

2 participants