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

GarbageCollector not removing all images #160

Open
StefanGla opened this issue Jun 4, 2019 · 0 comments
Open

GarbageCollector not removing all images #160

StefanGla opened this issue Jun 4, 2019 · 0 comments

Comments

@StefanGla
Copy link

Hello,

I'm using the GarbageCollector as described:
GarbageCollect::dropOldFiles($this->img_cache_dir, 30, true);
where $this->img_cache_dir is my /web/image_cache directory.

The GarbageCollector deletes some files, but when I check one subfolder of /web/image_cache/0 for example, there are still older images in it:

2019-04-11+18:55:51.2625899500 ./web/image_cache/0/e/0/b/6/0e0b65c7624be7a5d48590b099c3290c9de97008.jpeg

I'm running the script as root, so there should no file access permission issues.

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

1 participant