• 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?

Marcus

Well-known member
#1
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
#2
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.