• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Does Deferred break down tasks?


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?

Chris D

XenForo developer
Staff member

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.