Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-14616

Auto-prune fails on large forums

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.9
    • Fix Version/s: 3.1.10-RC1
    • Component/s: Cron
    • Labels:
      None
    • Environment:
      PHP 5.6.21, MariaDB 10.1.13

      Description

      The auto-prune cron job fails in a normal PHP environment due to too large of a transaction. This occurs if its trying to prune a very large number of topics. In my case this happens about 1,000 topics.

      I have made a change for 3.1.x to limit prunes to 500 per cron attempt. Once there are no more topics being pruned then it sets the next prune time.

        Attachments

          Activity

            People

            • Assignee:
              Marc Marc
              Reporter:
              Kigen Kigen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: