-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add an option to limit the number of files #14
Comments
Hi, |
Hi,
You could combine both options The slowest part of the previous command was the double media folder iteration... I also removed the database cleaner part for now (explain in the README.md) Thanks |
Wouldn't it make more sense to check for each file in the database if it actual exists on the disk and then delete it?
|
Hi,
It would be nice to have an option to limit the number of files the command browses. I just runned it on a Magento with 5M+ files and the NFS server is running down.
Maybe something like
php bin/magento cap:clean:media --limit=XXX
.The text was updated successfully, but these errors were encountered: