[TASK] Increase RequireJS timeout to 30s 70/56270/2
authorTymoteusz Motylewski <t.motylewski@gmail.com>
Sat, 17 Mar 2018 08:42:17 +0000 (09:42 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 17 Mar 2018 08:55:26 +0000 (09:55 +0100)
RequireJS default timeout of 7s is sometimes too low, especially
on slow mobile connections and when running PHP build in webserver
during acceptance testing.

Resoves: #84395
Releases: master
Change-Id: I5e19b78f837651070e0f06bd2c99f1060a3e9e66
Reviewed-on: https://review.typo3.org/56270
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Page/PageRenderer.php

index 4ec4d6c..4a319b5 100644 (file)
@@ -1415,7 +1415,7 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface
             'jquery/autocomplete' => $corePath . 'jquery.autocomplete',
             'd3' => $corePath . 'd3/d3'
         ];
-
+        $requireJsConfig['waitSeconds']  = 30;
         foreach ($loadedExtensions as $packageName) {
             $fullJsPath = 'EXT:' . $packageName . '/Resources/Public/JavaScript/';
             $fullJsPath = GeneralUtility::getFileAbsFileName($fullJsPath);