Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Classes/Indexer/NodeIndexer.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ public function indexNode(NodeInterface $node, $targetWorkspaceName = null): voi
$this->removeNode($node, $targetWorkspaceName);
return;
}
if ($this->enableLiveAsyncIndexing !== true) {
// During bulk builds (postfix is set), always index directly to avoid async queuing
if ($this->enableLiveAsyncIndexing !== true || $this->indexNamePostfix !== '') {
parent::indexNode($node, $targetWorkspaceName);

return;
Expand Down Expand Up @@ -88,7 +89,8 @@ public function indexNode(NodeInterface $node, $targetWorkspaceName = null): voi
*/
public function removeNode(NodeInterface $node, string $targetWorkspaceName = null): void
{
if ($this->enableLiveAsyncIndexing !== true) {
// During bulk builds (postfix is set), always remove directly to avoid async queuing
if ($this->enableLiveAsyncIndexing !== true || $this->indexNamePostfix !== '') {
parent::removeNode($node, $targetWorkspaceName);

return;
Expand Down