- Issue created by @spokje
- Issue was unassigned.
- Status changed to Needs review
4 months ago 11:39am 8 September 2024 - Status changed to Needs work
4 months ago 10:25pm 8 September 2024 - 🇨🇭Switzerland berdir Switzerland
> Apparently a batch runs within one request, since start and end time are always the same timestamp, making the interval always 0.
This is not true for web batch processing, it's doing many HTTP requests and its' definitely not the same time.
Maybe you've used this with drush, where things might be different?
But the change isn't correct either, you stopped using $context['results'][$entity_type_id]['start'] and that's just plain wrong, you only compaare the start and end of a single batch method call instead of all calls.