Does Deferred break down tasks?

Marcus

Well-known member
If I have a task that would take a longer time, too long for one php execution time, would the deferrer function break down the task in subtasks? Or could I tell it to do that?

As an example: If I modify all posts, could I tell the deferrer to do that in 100 post steps?
 
Yeah.

That's what it does.

Look at the Tools > Rebuild Caches page.

They're all deferred classes and most of them have an items to process per page option which is what you're looking for I think.
 
Top Bottom