1. 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?

Discussion in 'XenForo Development Discussions' started by Marcus, Oct 11, 2013.

  1. Marcus

    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?
  2. Chris D

    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.

Share This Page