-
-
Notifications
You must be signed in to change notification settings - Fork 213
Webserver blockiert, wenn der Suchindex aktualisiert wird #8449
Comments
|
-1 von mir. Die sequenzielle Abarbeitung dauert einfach viel länger und wir sollten das nicht allen Benutzern zumuten, besonders weil das Problem bei einem Großteil gar nicht auftritt. |
|
Langsam ist es, aber dafür auch zuverlässig.
...das wage ich zu bezweifeln, da alle, die auf das LTS setzen, das gar nicht mitbekommen, da das original "be_rebuild_index.html5"-Template ja immer Erfolg meldet. Ist aber auch nur mein persönliches Baugefühl dazu, da ich auch nur zufällig darauf gestoßen bin, dass unser Suchindex unvollständig ist. |
|
Das kannst Du leicht herausfinden, indem Du die Änderungen am Template aus Contao 4.2 übernimmst. @contao/developers Sollten wir vielleicht die MooTools Request Queue an dieser Stelle verwenden? |
|
@leofeyer Hab ich schon versucht, die Request Queue von Mootools ist aber buggy. |
|
Richtig wäre es mit Promises zu lösen. |
|
Dafür bräuchten wir aber MooTools 1.6. 😄 |
|
Nicht dass wir das nicht hätten, nur: #8411 (comment) |
|
Nö, nur ein Promises Polyfill für die Browser ohne ES6 Support. Aber auf die 1.6 können wir doch eh updaten? Ist ja ein rückwärtskompatibles Bugfix-Release (klar mit neuen Features, aber auch mit Bugfixes). |
|
Behoben in 891ad94. |
|
Did you adjust the |
|
The stopOnFailure option is definitely disabled. |
|
No I did not edit the be_rebuild_index.html5 |
|
See #8541. |
### 4.2.5 (2016-10-27) * Unlock members after password change (see contao/core#8545). * Register an alias for the language fallback page model (see contao/core#8544). * Correctly calculate the maximum length of tl_files.name (see contao/core#8536). * Correctly add the headline if a content element is versionized (see contao/core#8502). * Optimize the DCA sorting filter for date fields (see contao/core#8485). * Do not show version entries of deleted files (see contao/core#8480). * Redirect the empty URL depending on language and alias name (see contao/core#8498). * Apply `specialchars()` to widget attributes (see contao/core#8505). * Queue the requests when rebuilding the search index (see contao/core#8449). * Correctly determine the form field names in the file manager (see #600). * Correctly show the maximum file size in the form upload widget (see #595). * Correctly encode e-mail addresses in the text element (see #594). * Do not parse front end templates twice (see #599). * Correctly set host and scheme in the URL generator (see #592). * Correctly reload the page and file trees in "edit multiple" mode. * Correctly normalize the paths in the symlink command.

Aktualisiert man den Suchindex, werden gleichzeitig mehrere hundert Anfragen an den Webserver gesendet. Das führt bei einigen Providern (wie z.B. 1und1) dazu, dass die Requests blockiert werden (sicher ein DDOS-Schutz). Arbeitet man die Requests sequentiell ab, läuft die Indizierung problemlos durch. Dafür ist die Modifikation des Templates "be_rebuild_index.html5" notwendig:
The text was updated successfully, but these errors were encountered: