Increase the number of background jobs per HTTP request to 10
authorTim Düsterhus <duesterhus@woltlab.com>
Thu, 9 Mar 2023 11:27:47 +0000 (12:27 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Thu, 9 Mar 2023 11:28:24 +0000 (12:28 +0100)
wcfsetup/install/files/lib/action/BackgroundQueuePerformAction.class.php

index dc0c26766aaf63e4b1c1e26c2700fbab75a9c876..5754508f600796e24a51841dedb4fe03d419d659 100644 (file)
@@ -10,7 +10,7 @@ use wcf\system\WCF;
  * Performs background queue jobs.
  *
  * @author  Tim Duesterhus
- * @copyright   2001-2019 WoltLab GmbH
+ * @copyright   2001-2023 WoltLab GmbH
  * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
  * @since   3.0
  */
@@ -18,9 +18,8 @@ final class BackgroundQueuePerformAction extends AbstractAction
 {
     /**
      * number of jobs that will be processed per invocation
-     * @var int
      */
-    public static $jobsPerRun = 5;
+    public static int $jobsPerRun = 10;
 
     /**
      * @inheritDoc