- last update
about 2 years ago 10 pass, 1 fail - 🇨🇦Canada jigarius Montréal
I was about to create a similar issue but I found this one. I have ~48,000 files and the Drush command never manages to reach till the end. Hopefully, the solution to this issue will solve my problem.
To avoid having a huge number of items inserted into a batch, it might be more efficient to store a highwater mark. For example:
* Batch starts with "position = 0"
* Load, say, 50 file entities where fid > 0.
* Process the files and after processing each file, set the position to "fid" for that file.
* Keep repeating 1 and 2 until step 2 returns an empty result, which means all files are processed.This approach should be able to tackle any number of records without spending additional resources to create an initial "list of tasks".
PS: I haven't had the opportunity to see the open pull request yet.
- last update
about 1 year ago 10 pass, 1 fail - last update
about 1 year ago 10 pass, 1 fail - last update
about 1 year ago 12 pass - 🇫🇮Finland sokru
Updated the tests and added the two missing features from summary:
- Option to order loading of files by created date (default: DESC = newest first).
- Only load permanent files from database.
Reverted the changes to logging made by @DieterHolvoet, I think in overall the logging would need a bit more sophisticated approach, but I'd leave it as a follow-up issue.
- last update
12 months ago 12 pass - 🇩🇪Germany IT-Cru Munich
We also should try to add new Drush command options to PHPUnit testing or open a related issue for this.
- last update
12 months ago 12 pass - last update
12 months ago 12 pass - last update
12 months ago 13 pass - 🇨🇦Canada mikeohara Moncton, NB
Should the README also be updated to include an overview of the drush command, especially since it's being enhanced here?
- 🇩🇪Germany IT-Cru Munich
@mikeohara: Sounds valid to me.
I think in the near future Image Style Warmer should also get some Gitlab doc pages.
- 🇧🇪Belgium matthieu_collet
Hi
I try to use all you talk about here, but where is the doc to know how to use drush with ID asc and other options ?
I don't see anything in hte readme or elsewherethank you
- First commit to issue fork.