I was working on a large site, 150+k images. and the images need regenerated.
I ran the script for 4-5 days, and it failed at around 80%.
I think it currently process the media entry one by one using ASC order (by IDs) ?
It would be nice to be able to switch the order.